From 951d8964db6dbcdf1335f2b187daa665f2df784a Mon Sep 17 00:00:00 2001 From: "s.mehrbrodt@gmail.com" Date: Fri, 19 Jul 2013 17:36:45 +0200 Subject: [PATCH] Don't allow to collapse the Live or Preview Pane. They can still be hidden via the menu. --- openlp/core/ui/mainwindow.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openlp/core/ui/mainwindow.py b/openlp/core/ui/mainwindow.py index 307239032..e616a7b42 100644 --- a/openlp/core/ui/mainwindow.py +++ b/openlp/core/ui/mainwindow.py @@ -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):