forked from openlp/openlp
Actually, the else should not be there.
This commit is contained in:
parent
58c2cd34b1
commit
c152cde3b7
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user