Take new count after loading files works better

Fixes: https://launchpad.net/bugs/756545
This commit is contained in:
Tim Bentley 2011-04-10 19:59:29 +01:00
parent 1882c5366d
commit 20dc7846ce
1 changed files with 1 additions and 0 deletions

View File

@ -445,6 +445,7 @@ class ThemeManager(QtGui.QWidget):
files = SettingsManager.get_files(self.settingsSection, u'.png')
if firstTime:
self.firstTime()
files = SettingsManager.get_files(self.settingsSection, u'.png')
# No themes have been found so create one
if len(files) == 0:
theme = ThemeXML()