From b409bacca36bd5124b51a2526020d40d7421c592 Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Sun, 1 Jul 2012 22:44:40 +0200 Subject: [PATCH] final fix for Trb143 --- openlp/core/ui/themeform.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/core/ui/themeform.py b/openlp/core/ui/themeform.py index 01738d65c..e44341530 100644 --- a/openlp/core/ui/themeform.py +++ b/openlp/core/ui/themeform.py @@ -620,8 +620,8 @@ class ThemeForm(QtGui.QWizard, Ui_ThemeWizard): os.path.split(unicode(self.theme.background_filename))[1] saveTo = os.path.join(self.path, self.theme.theme_name, filename) saveFrom = self.theme.background_filename - if not self.edit_mode and not \ - self.thememanager.checkIfThemeExists(self.theme.theme_name): + if not self.edit_mode and \ + not self.thememanager.checkIfThemeExists(self.theme.theme_name): return self.thememanager.saveTheme(self.theme, saveFrom, saveTo) return QtGui.QDialog.accept(self)