forked from openlp/openlp
Restore previous delete button behavior
This commit is contained in:
parent
b0d3b54f53
commit
7f8e76b8dd
@ -545,7 +545,8 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog, RegistryProperties):
|
|||||||
"""
|
"""
|
||||||
Run a set of actions when an author in the list is selected (mainly enable the delete button).
|
Run a set of actions when an author in the list is selected (mainly enable the delete button).
|
||||||
"""
|
"""
|
||||||
self.author_remove_button.setEnabled(True)
|
if self.authors_list_view.count() > 1:
|
||||||
|
self.author_remove_button.setEnabled(True)
|
||||||
|
|
||||||
def on_author_remove_button_clicked(self):
|
def on_author_remove_button_clicked(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user