Speed up theme load and stop display being set incorrectly for images

Fixes: https://launchpad.net/bugs/697405
This commit is contained in:
Tim Bentley 2011-01-05 16:06:56 +00:00
parent 38e72ca137
commit 13732b5bd1

View File

@ -435,6 +435,8 @@ class ThemeForm(QtGui.QWizard, Ui_ThemeWizard):
"""
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.setBackgroundPageValues()