forked from openlp/openlp
Bug #959760: Change theme manager delete button visibility on default theme change.
bzr-revno: 1927 Fixes: https://launchpad.net/bugs/959760
This commit is contained in:
commit
22d29e7d62
@ -220,6 +220,8 @@ class ThemeManager(QtGui.QWidget):
|
||||
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):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user