Restore previous delete button behavior

This commit is contained in:
Samuel Mehrbrodt 2014-04-08 11:21:56 +02:00
parent b0d3b54f53
commit 7f8e76b8dd
1 changed files with 2 additions and 1 deletions

View File

@ -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).
"""
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):
"""