From 4f78c5e5bc99521cbe3ab72f4eae4735684da1e6 Mon Sep 17 00:00:00 2001 From: Philip Ridout Date: Sun, 4 Nov 2012 20:45:31 +0000 Subject: [PATCH] fixes bug #1066142 "cancel firsttime wizard without song causes song reindexing" --- openlp/core/ui/mainwindow.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openlp/core/ui/mainwindow.py b/openlp/core/ui/mainwindow.py index 3ecb4aed9..4cdbe81b5 100644 --- a/openlp/core/ui/mainwindow.py +++ b/openlp/core/ui/mainwindow.py @@ -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