forked from openlp/openlp
Don't allow collapsing of the Live or Preview panes. They can still be hidden via the menu.
bzr-revno: 2285
This commit is contained in:
commit
74e2c1107c
@ -1196,6 +1196,9 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow):
|
||||
self.live_controller.splitter.restoreState(settings.value(u'live splitter geometry'))
|
||||
self.preview_controller.splitter.restoreState(settings.value(u'preview splitter geometry'))
|
||||
self.control_splitter.restoreState(settings.value(u'main window splitter geometry'))
|
||||
#This needs to be called after restoreState(), because saveState() also saves the "Collapsible" property
|
||||
#which was True (by default) < OpenLP 2.1.
|
||||
self.control_splitter.setChildrenCollapsible(False)
|
||||
settings.endGroup()
|
||||
|
||||
def save_settings(self):
|
||||
|
Loading…
Reference in New Issue
Block a user