Actually, the else should not be there.

This commit is contained in:
Raoul Snyman 2012-03-22 23:31:01 +02:00
parent 58c2cd34b1
commit c152cde3b7

View File

@ -367,8 +367,6 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog):
if text in self.authors:
# Index 0 is a blank string, so add 1
item = self.authors.index(text) + 1
else:
item = 0
if item == 0 and text:
if QtGui.QMessageBox.question(self,
translate('SongsPlugin.EditSongForm', 'Add Author'),