forked from openlp/openlp
Fix double edit
This commit is contained in:
parent
abf44320c3
commit
100fb77456
@ -435,7 +435,8 @@ class ThemeForm(QtGui.QWizard, Ui_ThemeWizard):
|
|||||||
if self.updateThemeAllowed:
|
if self.updateThemeAllowed:
|
||||||
self.theme.background_type = BackgroundType.to_string(index)
|
self.theme.background_type = BackgroundType.to_string(index)
|
||||||
if self.theme.background_type != \
|
if self.theme.background_type != \
|
||||||
BackgroundType.to_string(BackgroundType.Image):
|
BackgroundType.to_string(BackgroundType.Image) and \
|
||||||
|
self.temp_background_filename == u'':
|
||||||
self.temp_background_filename = self.theme.background_filename
|
self.temp_background_filename = self.theme.background_filename
|
||||||
self.theme.background_filename = u''
|
self.theme.background_filename = u''
|
||||||
if self.theme.background_type == \
|
if self.theme.background_type == \
|
||||||
|
Loading…
Reference in New Issue
Block a user