From 195608f39e24674dba76c6d431b9be3f1614e006 Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Wed, 19 Sep 2012 20:43:02 +0200 Subject: [PATCH] do not reload theme list twice when renaming a theme; fixed not reloading list after adding a new theme --- openlp/core/ui/thememanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/core/ui/thememanager.py b/openlp/core/ui/thememanager.py index 5ec75f698..844ffec8c 100644 --- a/openlp/core/ui/thememanager.py +++ b/openlp/core/ui/thememanager.py @@ -257,6 +257,7 @@ class ThemeManager(QtGui.QWidget): theme.set_default_header_footer() self.themeForm.theme = theme self.themeForm.exec_() + self.loadThemes() def onRenameTheme(self): """ @@ -283,7 +284,6 @@ class ThemeManager(QtGui.QWidget): plugin.renameTheme(old_theme_name, new_theme_name) self.mainwindow.renderer.update_theme( new_theme_name, old_theme_name) - self.loadThemes() def onCopyTheme(self): """