forked from openlp/openlp
Speed up theme load and stop display being set incorrectly for images
Fixes: https://launchpad.net/bugs/697405
This commit is contained in:
parent
38e72ca137
commit
13732b5bd1
@ -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):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user