From ba4821e5f85feed7e69b9236b9a2f6deb8ba6faa Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Thu, 26 Aug 2010 17:51:27 +0100 Subject: [PATCH] Screen re-sizing now works --- openlp/core/lib/rendermanager.py | 1 + openlp/core/ui/mainwindow.py | 1 + 2 files changed, 2 insertions(+) diff --git a/openlp/core/lib/rendermanager.py b/openlp/core/lib/rendermanager.py index 5ee04a36d..1405b6430 100644 --- a/openlp/core/lib/rendermanager.py +++ b/openlp/core/lib/rendermanager.py @@ -77,6 +77,7 @@ class RenderManager(object): self.display = MainDisplay(self, self.screens, False) self.display.setup() self.renderer.bg_frame = None + self.themedata = None def set_global_theme(self, global_theme, theme_level=ThemeLevel.Global): """ diff --git a/openlp/core/ui/mainwindow.py b/openlp/core/ui/mainwindow.py index 1e8d05d03..416c1982a 100644 --- a/openlp/core/ui/mainwindow.py +++ b/openlp/core/ui/mainwindow.py @@ -743,6 +743,7 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow): The screen has changed to so tell the displays to update_display their locations """ + log.debug(u'screenChanged') self.RenderManager.update_display() self.setFocus() self.activateWindow()