nodeview: set focus when adding a node

Ensures users can "Esc" out of it
This commit is contained in:
itsmattkc
2021-07-11 16:44:07 -07:00
parent 38c38daf8a
commit 9b0b3962fe
+2
View File
@@ -1049,6 +1049,8 @@ void NodeView::CreateNodeSlot(QAction *action)
}
paste_command_->add_child(new NodeViewAttachNodesToCursor(this, {new_node}));
paste_command_->redo();
this->setFocus();
}
}