From c152cde3b72531aeaf84047c6486dac602a6ec5c Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Thu, 22 Mar 2012 23:31:01 +0200 Subject: [PATCH] Actually, the else should not be there. --- openlp/plugins/songs/forms/editsongform.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/openlp/plugins/songs/forms/editsongform.py b/openlp/plugins/songs/forms/editsongform.py index d021c7936..36ae46e41 100644 --- a/openlp/plugins/songs/forms/editsongform.py +++ b/openlp/plugins/songs/forms/editsongform.py @@ -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'),