forked from openlp/openlp
- fixed bug #763309
bzr-revno: 1477 Fixes: https://launchpad.net/bugs/763309
This commit is contained in:
commit
3166e8e07b
@ -140,6 +140,8 @@ class FirstTimeForm(QtGui.QWizard, Ui_FirstTimeWizard):
|
|||||||
return FirstTimePage.Songs
|
return FirstTimePage.Songs
|
||||||
elif self.currentId() == FirstTimePage.Progress:
|
elif self.currentId() == FirstTimePage.Progress:
|
||||||
return -1
|
return -1
|
||||||
|
elif self.currentId() == FirstTimePage.NoInternet:
|
||||||
|
return FirstTimePage.Progress
|
||||||
else:
|
else:
|
||||||
return self.currentId() + 1
|
return self.currentId() + 1
|
||||||
|
|
||||||
@ -147,11 +149,7 @@ class FirstTimeForm(QtGui.QWizard, Ui_FirstTimeWizard):
|
|||||||
"""
|
"""
|
||||||
Detects Page changes and updates as approprate.
|
Detects Page changes and updates as approprate.
|
||||||
"""
|
"""
|
||||||
if pageId == FirstTimePage.NoInternet:
|
if pageId == FirstTimePage.Defaults:
|
||||||
self.finishButton.setVisible(True)
|
|
||||||
self.finishButton.setEnabled(True)
|
|
||||||
self.nextButton.setVisible(False)
|
|
||||||
elif pageId == FirstTimePage.Defaults:
|
|
||||||
self.themeComboBox.clear()
|
self.themeComboBox.clear()
|
||||||
for iter in xrange(self.themesListWidget.count()):
|
for iter in xrange(self.themesListWidget.count()):
|
||||||
item = self.themesListWidget.item(iter)
|
item = self.themesListWidget.item(iter)
|
||||||
|
Loading…
Reference in New Issue
Block a user