forked from openlp/openlp
final fix for Trb143
This commit is contained in:
parent
fb59eab8e7
commit
b409bacca3
@ -620,8 +620,8 @@ class ThemeForm(QtGui.QWizard, Ui_ThemeWizard):
|
|||||||
os.path.split(unicode(self.theme.background_filename))[1]
|
os.path.split(unicode(self.theme.background_filename))[1]
|
||||||
saveTo = os.path.join(self.path, self.theme.theme_name, filename)
|
saveTo = os.path.join(self.path, self.theme.theme_name, filename)
|
||||||
saveFrom = self.theme.background_filename
|
saveFrom = self.theme.background_filename
|
||||||
if not self.edit_mode and not \
|
if not self.edit_mode and \
|
||||||
self.thememanager.checkIfThemeExists(self.theme.theme_name):
|
not self.thememanager.checkIfThemeExists(self.theme.theme_name):
|
||||||
return
|
return
|
||||||
self.thememanager.saveTheme(self.theme, saveFrom, saveTo)
|
self.thememanager.saveTheme(self.theme, saveFrom, saveTo)
|
||||||
return QtGui.QDialog.accept(self)
|
return QtGui.QDialog.accept(self)
|
||||||
|
Loading…
Reference in New Issue
Block a user