Added a fix for songs as well.

Fixes: https://launchpad.net/bugs/1194622
This commit is contained in:
Raoul Snyman 2013-08-20 21:05:26 +02:00
parent c620a303e2
commit a869c2401b
1 changed files with 9 additions and 1 deletions

View File

@ -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: