- do not (re)load the list twice when cloning a theme

bzr-revno: 1801
This commit is contained in:
Andreas Preikschat 2011-11-19 13:30:09 +01:00
commit 9d95c4468e

View File

@ -300,7 +300,6 @@ class ThemeManager(QtGui.QWidget):
if self.checkIfThemeExists(newThemeName): if self.checkIfThemeExists(newThemeName):
themeData = self.getThemeData(oldThemeName) themeData = self.getThemeData(oldThemeName)
self.cloneThemeData(themeData, newThemeName) self.cloneThemeData(themeData, newThemeName)
self.loadThemes()
def cloneThemeData(self, themeData, newThemeName): def cloneThemeData(self, themeData, newThemeName):
""" """