From 13732b5bd11ccdeede1e9363e79e5a5a8a1174d8 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Wed, 5 Jan 2011 16:06:56 +0000 Subject: [PATCH] Speed up theme load and stop display being set incorrectly for images Fixes: https://launchpad.net/bugs/697405 --- openlp/core/ui/themeform.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/openlp/core/ui/themeform.py b/openlp/core/ui/themeform.py index 5c9517b0e..382ff3b99 100644 --- a/openlp/core/ui/themeform.py +++ b/openlp/core/ui/themeform.py @@ -435,8 +435,10 @@ class ThemeForm(QtGui.QWizard, Ui_ThemeWizard): """ Background style Combo box has changed. """ - self.theme.background_type = BackgroundType.to_string(index) - self.setBackgroundPageValues() + # do not allow updates when screen is building for the first time. + if self.updateThemeAllowed: + self.theme.background_type = BackgroundType.to_string(index) + self.setBackgroundPageValues() def onGradientComboBoxCurrentIndexChanged(self, index): """