ui: Added "Show Definition in IDE" action to graph context menu for nodes (issue #687)

This commit is contained in:
Eberhard Graether
2019-04-23 13:15:56 +02:00
parent 4984e23c07
commit a00cdc18ca
7 changed files with 48 additions and 14 deletions
@@ -14,8 +14,9 @@ public:
return "MessageCodeShowDefinition";
}
MessageCodeShowDefinition(Id nodeId)
MessageCodeShowDefinition(Id nodeId, bool inIDE = false)
: nodeId(nodeId)
, inIDE(inIDE)
{
setSchedulerId(TabId::currentTab());
}
@@ -26,6 +27,7 @@ public:
}
const Id nodeId;
const bool inIDE;
};
#endif // MESSAGE_CODE_SHOW_DEFINITION_H