forked from openlp/openlp
Bug #959760: Change theme manager delete button visibility on default theme change.
This commit is contained in:
parent
9d3093a99f
commit
f876898033
@ -220,6 +220,8 @@ class ThemeManager(QtGui.QWidget):
|
|||||||
name = unicode(translate('OpenLP.ThemeManager',
|
name = unicode(translate('OpenLP.ThemeManager',
|
||||||
'%s (default)')) % new_name
|
'%s (default)')) % new_name
|
||||||
self.themeListWidget.item(count).setText(name)
|
self.themeListWidget.item(count).setText(name)
|
||||||
|
self.deleteToolbarAction.setVisible(
|
||||||
|
item not in self.themeListWidget.selectedItems())
|
||||||
|
|
||||||
def changeGlobalFromScreen(self, index=-1):
|
def changeGlobalFromScreen(self, index=-1):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user