Move customInit to wizard. So dummy implementations are not required in the deriving classes.

This commit is contained in:
Patrick Zimmermann 2013-02-14 22:01:10 +01:00
parent 2a16a6ebcb
commit f7c19f599c
2 changed files with 6 additions and 6 deletions

View File

@ -206,6 +206,12 @@ class OpenLPWizard(QtGui.QWizard):
else:
self.customPageChanged(pageId)
def customInit(self):
"""
Song wizard specific initialization.
"""
pass
def customPageChanged(self, pageId):
"""
Called when changing to a page other than the progress page

View File

@ -69,12 +69,6 @@ class DuplicateSongRemovalForm(OpenLPWizard):
OpenLPWizard.__init__(self, parent, plugin, u'duplicateSongRemovalWizard',
u':/wizards/wizard_duplicateremoval.bmp', False)
def customInit(self):
"""
Song wizard specific initialisation.
"""
pass
def customSignals(self):
"""
Song wizard specific signals.