fixes bug #1066142 "cancel firsttime wizard without song causes song reindexing"

This commit is contained in:
Philip Ridout 2012-11-04 20:45:31 +00:00
parent 3038a5d02e
commit 4f78c5e5bc

View File

@ -817,7 +817,10 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow):
return
Receiver.send_message(u'cursor_busy')
screens = ScreenList()
FirstTimeForm(screens, self).exec_()
firstTime = FirstTimeForm(screens, self)
firstTime.exec_()
if firstTime.downloadCancelled:
return
self.firstTime()
for plugin in self.pluginManager.plugins:
self.activePlugin = plugin