forked from openlp/openlp
expand categories
This commit is contained in:
parent
4a6be382ff
commit
38c9393624
@ -145,8 +145,8 @@ class ShortcutListForm(QtGui.QDialog, Ui_ShortcutListDialog):
|
|||||||
actionItem.setData(0,
|
actionItem.setData(0,
|
||||||
QtCore.Qt.UserRole, QtCore.QVariant(action))
|
QtCore.Qt.UserRole, QtCore.QVariant(action))
|
||||||
item.addChild(actionItem)
|
item.addChild(actionItem)
|
||||||
item.setExpanded(True)
|
|
||||||
self.treeWidget.addTopLevelItem(item)
|
self.treeWidget.addTopLevelItem(item)
|
||||||
|
item.setExpanded(True)
|
||||||
self.refreshShortcutList()
|
self.refreshShortcutList()
|
||||||
|
|
||||||
def refreshShortcutList(self):
|
def refreshShortcutList(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user