Fix last theme.parse() without a cleanTheme()

This commit is contained in:
Jon Tibble 2009-11-05 00:09:19 +00:00
parent 3d56391d1c
commit 62031c24b9
1 changed files with 1 additions and 0 deletions

View File

@ -430,6 +430,7 @@ class ThemeManager(QtGui.QWidget):
log.debug(u'generateAndSaveImage %s %s %s', dir, name, theme_xml)
theme = ThemeXML()
theme.parse(theme_xml)
self.cleanTheme(theme)
theme.extend_image_filename(dir)
frame = self.generateImage(theme)
samplepathname = os.path.join(self.path, name + u'.png')