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

bzr-revno: 2102
Fixes: https://launchpad.net/bugs/1066142
This commit is contained in:
Philip Ridout 2012-11-06 18:34:00 +00:00 committed by Tim Bentley
commit b47512254b

View File

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