expand categories

This commit is contained in:
Andreas Preikschat 2011-04-04 19:33:42 +02:00
parent 4a6be382ff
commit 38c9393624
1 changed files with 1 additions and 1 deletions

View File

@ -145,8 +145,8 @@ class ShortcutListForm(QtGui.QDialog, Ui_ShortcutListDialog):
actionItem.setData(0,
QtCore.Qt.UserRole, QtCore.QVariant(action))
item.addChild(actionItem)
item.setExpanded(True)
self.treeWidget.addTopLevelItem(item)
item.setExpanded(True)
self.refreshShortcutList()
def refreshShortcutList(self):