Remove the tabs.movable setting
This commit is contained in:
parent
85bee4a7d2
commit
c2a2845ee7
@ -1049,11 +1049,6 @@ tabs.mousewheel_switching:
|
|||||||
type: Bool
|
type: Bool
|
||||||
desc: Switch between tabs using the mouse wheel.
|
desc: Switch between tabs using the mouse wheel.
|
||||||
|
|
||||||
tabs.movable:
|
|
||||||
default: true
|
|
||||||
type: Bool
|
|
||||||
desc: Whether tabs should be movable.
|
|
||||||
|
|
||||||
tabs.new_position:
|
tabs.new_position:
|
||||||
default: next
|
default: next
|
||||||
type: NewTabPosition
|
type: NewTabPosition
|
||||||
|
@ -74,7 +74,7 @@ class TabWidget(QTabWidget):
|
|||||||
# WORKAROUND for PyQt 5.2
|
# WORKAROUND for PyQt 5.2
|
||||||
return
|
return
|
||||||
tabbar = self.tabBar()
|
tabbar = self.tabBar()
|
||||||
self.setMovable(config.val.tabs.movable)
|
self.setMovable(True)
|
||||||
self.setTabsClosable(False)
|
self.setTabsClosable(False)
|
||||||
position = config.val.tabs.position
|
position = config.val.tabs.position
|
||||||
selection_behavior = config.val.tabs.select_on_remove
|
selection_behavior = config.val.tabs.select_on_remove
|
||||||
|
Loading…
Reference in New Issue
Block a user