removed duplicate method registerFields() and sort some lines

This commit is contained in:
Armin Köhler 2011-02-21 15:59:01 +01:00
parent b55ed9b471
commit 4aa69e53bb

View File

@ -605,6 +605,12 @@ class SongImportForm(OpenLPWizard):
'SongShow Plus Song Files')
)
def onSongShowPlusRemoveButtonClicked(self):
"""
Remove selected SongShow Plus files from the import list
"""
self.removeSelectedItems(self.songShowPlusFileListWidget)
def onFoilPresenterAddButtonClicked(self):
"""
Get FoilPresenter song database files
@ -621,18 +627,6 @@ class SongImportForm(OpenLPWizard):
"""
self.removeSelectedItems(self.foilPresenterFileListWidget)
def registerFields(self):
"""
Register song import wizard fields.
"""
pass
def onSongShowPlusRemoveButtonClicked(self):
"""
Remove selected SongShow Plus files from the import list
"""
self.removeSelectedItems(self.songShowPlusFileListWidget)
def setDefaults(self):
"""
Set default form values for the song import wizard.