Bug #959760: Change theme manager delete button visibility on default theme change.

This commit is contained in:
M2j 2012-04-02 15:46:41 +02:00
parent 9d3093a99f
commit f876898033

View File

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