implemented deleting nodes in the nodeview (undoable)

This commit is contained in:
itsmattkc
2019-12-13 04:12:00 +11:00
parent 186973ff20
commit 18bf126574
9 changed files with 140 additions and 2 deletions
+5
View File
@@ -44,6 +44,11 @@ void NodePanel::SetGraph(NodeGraph *graph)
node_view_->SetGraph(graph);
}
void NodePanel::DeleteSelected()
{
node_view_->DeleteSelected();
}
void NodePanel::changeEvent(QEvent *e)
{
if (e->type() == QEvent::LanguageChange) {