From 100fb77456fe162f3a996f4c8d4fee77f5f8bb1d Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Mon, 25 Apr 2011 11:26:21 +0100 Subject: [PATCH] Fix double edit --- openlp/core/ui/themeform.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openlp/core/ui/themeform.py b/openlp/core/ui/themeform.py index 621493488..019ab5bfe 100644 --- a/openlp/core/ui/themeform.py +++ b/openlp/core/ui/themeform.py @@ -435,7 +435,8 @@ class ThemeForm(QtGui.QWizard, Ui_ThemeWizard): if self.updateThemeAllowed: self.theme.background_type = BackgroundType.to_string(index) 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.theme.background_filename = u'' if self.theme.background_type == \