From 421577f8cedddd46bcd602f70ffa4fff21c78705 Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Sun, 10 Oct 2010 14:14:12 +0200 Subject: [PATCH 2/2] make sure that the 'edit' and 'delete' buttons are disabled after editing all verses --- openlp/plugins/songs/forms/editsongform.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openlp/plugins/songs/forms/editsongform.py b/openlp/plugins/songs/forms/editsongform.py index 41eef0545..67ff6f32f 100644 --- a/openlp/plugins/songs/forms/editsongform.py +++ b/openlp/plugins/songs/forms/editsongform.py @@ -483,6 +483,8 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog): self.VerseListWidget.resizeRowsToContents() self.VerseListWidget.repaint() self.tagRows() + self.VerseEditButton.setEnabled(False) + self.VerseDeleteButton.setEnabled(False) def onVerseDeleteButtonClicked(self): self.VerseListWidget.removeRow(self.VerseListWidget.currentRow())