forked from openlp/openlp
Correct the naming of the preWizard -> pre_wizard.
This commit is contained in:
parent
7b7cbc588c
commit
d7eb6b20c3
@ -511,7 +511,7 @@ class BibleImportForm(OpenLPWizard):
|
||||
name = bible[u'abbreviation']
|
||||
self.web_bible_list[download_type][version] = name.strip()
|
||||
|
||||
def preWizard(self):
|
||||
def pre_wizard(self):
|
||||
"""
|
||||
Prepare the UI for the import.
|
||||
"""
|
||||
|
@ -105,7 +105,7 @@ class BibleUpgradeForm(OpenLPWizard):
|
||||
Perform necessary functions depending on which wizard page is active.
|
||||
"""
|
||||
if self.page(pageId) == self.progress_page:
|
||||
self.preWizard()
|
||||
self.pre_wizard()
|
||||
self.performWizard()
|
||||
self.post_wizard()
|
||||
elif self.page(pageId) == self.selectPage and not self.files:
|
||||
@ -329,7 +329,7 @@ class BibleUpgradeForm(OpenLPWizard):
|
||||
self.cancel_button.setVisible(True)
|
||||
settings.endGroup()
|
||||
|
||||
def preWizard(self):
|
||||
def pre_wizard(self):
|
||||
"""
|
||||
Prepare the UI for the upgrade.
|
||||
"""
|
||||
|
@ -235,7 +235,7 @@ class SongExportForm(OpenLPWizard):
|
||||
self.availableListWidget.addItem(item)
|
||||
self.application.set_normal_cursor()
|
||||
|
||||
def preWizard(self):
|
||||
def pre_wizard(self):
|
||||
"""
|
||||
Perform pre export tasks.
|
||||
"""
|
||||
|
@ -325,7 +325,7 @@ class SongImportForm(OpenLPWizard):
|
||||
self.error_copy_to_button.setHidden(True)
|
||||
self.error_save_to_button.setHidden(True)
|
||||
|
||||
def preWizard(self):
|
||||
def pre_wizard(self):
|
||||
"""
|
||||
Perform pre import tasks
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user