From a869c2401ba68dce129dfb5d662d58a1ae8ff601 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Tue, 20 Aug 2013 21:05:26 +0200 Subject: [PATCH] Added a fix for songs as well. Fixes: https://launchpad.net/bugs/1194622 --- openlp/core/ui/firsttimeform.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/openlp/core/ui/firsttimeform.py b/openlp/core/ui/firsttimeform.py index 761ec0ceb..a24876e88 100644 --- a/openlp/core/ui/firsttimeform.py +++ b/openlp/core/ui/firsttimeform.py @@ -186,11 +186,19 @@ class FirstTimeForm(QtGui.QWizard, Ui_FirstTimeWizard): Determine the next page in the Wizard to go to. """ Receiver.send_message(u'openlp_process_events') + # If we are currently on the plugins page if self.currentId() == FirstTimePage.Plugins: + # But we don't have Internet access if not self.webAccess: return FirstTimePage.NoInternet - else: + # The songs plugin is enabled + elif self.songsCheckBox.isChecked(): return FirstTimePage.Songs + # The Bibles plugin is enabled + elif self.bibleCheckBox.isChecked(): + return FirstTimePage.Bibles + else: + return FirstTimePage.Themes elif self.currentId() == FirstTimePage.Progress: return -1 elif self.currentId() == FirstTimePage.NoInternet: