Added item status, and added icons and flags to the main treeview
This commit is contained in:
@@ -192,7 +192,7 @@ class GuiDocTreeCtx(QMenu):
|
||||
return
|
||||
|
||||
def _buildSubMenuAddRoot(self, itemClass):
|
||||
mnuSub = QAction("Add "+NWItem.CLASS_NAME[itemClass], self)
|
||||
mnuSub = QAction("Add %s Root" % NWItem.CLASS_NAME[itemClass], self)
|
||||
mnuSub.triggered.connect(lambda: self._ctxSignal(
|
||||
nwItemAction.ADD_ROOT,
|
||||
itemClass,
|
||||
|
||||
Reference in New Issue
Block a user