expand categories

This commit is contained in:
Andreas Preikschat 2011-04-04 19:33:42 +02:00
parent 4a6be382ff
commit 38c9393624

View File

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