forked from openlp/openlp
Fixes
This commit is contained in:
parent
9ed7314697
commit
2feefa95f4
@ -156,6 +156,7 @@ class ThemeManager(QtGui.QWidget):
|
|||||||
"""
|
"""
|
||||||
realThemeName = unicode(item.data(QtCore.Qt.UserRole).toString())
|
realThemeName = unicode(item.data(QtCore.Qt.UserRole).toString())
|
||||||
themeName = unicode(item.text())
|
themeName = unicode(item.text())
|
||||||
|
# If default theme restrict actions
|
||||||
if realThemeName == themeName:
|
if realThemeName == themeName:
|
||||||
self.deleteToolbarAction.setVisible(True)
|
self.deleteToolbarAction.setVisible(True)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user