mahfiaz has proposed merging
lp:~mahfiaz/openlp/author-delete-button-not-active-in-edit-dialog into
lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
For more details, see:
https://code.launchpad.net/~mahfiaz/openlp/author-delete-button-not-active-in-edit-dialog/+merge/181967
Fixed a tiny glitch, remove author button became always disabled even if not
needed to.
--
https://code.launchpad.net/~mahfiaz/openlp/author-delete-button-not-active-in-edit-dialog/+merge/181967
Your team OpenLP Core is requested to review the proposed merge of
lp:~mahfiaz/openlp/author-delete-button-not-active-in-edit-dialog into
lp:openlp.
=== modified file 'openlp/plugins/songs/forms/editsongform.py'
--- openlp/plugins/songs/forms/editsongform.py 2013-07-22 20:27:51 +0000
+++ openlp/plugins/songs/forms/editsongform.py 2013-08-24 21:57:24 +0000
@@ -530,7 +530,8 @@
"""
Remove the author from the list when the delete button is clicked.
"""
- self.author_remove_button.setEnabled(False)
+ if self.authors_list_view.count() <= 2:
+ self.author_remove_button.setEnabled(False)
item = self.authors_list_view.currentItem()
row = self.authors_list_view.row(item)
self.authors_list_view.takeItem(row)
_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openlp-core
More help : https://help.launchpad.net/ListHelp