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,6 +435,8 @@ class ThemeForm(QtGui.QWizard, Ui_ThemeWizard):
|
|||||||
"""
|
"""
|
||||||
Background style Combo box has changed.
|
Background style Combo box has changed.
|
||||||
"""
|
"""
|
||||||
|
# do not allow updates when screen is building for the first time.
|
||||||
|
if self.updateThemeAllowed:
|
||||||
self.theme.background_type = BackgroundType.to_string(index)
|
self.theme.background_type = BackgroundType.to_string(index)
|
||||||
self.setBackgroundPageValues()
|
self.setBackgroundPageValues()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user