forked from openlp/openlp
Make sure that the 'edit' and 'delete' buttons are disabled after editing all verses (because no verse is selected).
bzr-revno: 1079
This commit is contained in:
commit
bf7df829d0
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user