openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #14983
[Merge] lp:~m2j/openlp/bug-959760 into lp:openlp
Meinert Jordan has proposed merging lp:~m2j/openlp/bug-959760 into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
For more details, see:
https://code.launchpad.net/~m2j/openlp/bug-959760/+merge/100414
Bug #959760: Change theme manager delete button visibility on default theme change.
--
https://code.launchpad.net/~m2j/openlp/bug-959760/+merge/100414
Your team OpenLP Core is requested to review the proposed merge of lp:~m2j/openlp/bug-959760 into lp:openlp.
=== modified file 'openlp/core/ui/thememanager.py'
--- openlp/core/ui/thememanager.py 2012-03-12 22:12:16 +0000
+++ openlp/core/ui/thememanager.py 2012-04-02 13:50:29 +0000
@@ -220,6 +220,8 @@
name = unicode(translate('OpenLP.ThemeManager',
'%s (default)')) % new_name
self.themeListWidget.item(count).setText(name)
+ self.deleteToolbarAction.setVisible(
+ item not in self.themeListWidget.selectedItems())
def changeGlobalFromScreen(self, index=-1):
"""
Follow ups