nodeview: associated pasted nodes

Prevents nodes being erroneously filtered out.
This commit is contained in:
itsmattkc
2020-06-16 17:17:47 +10:00
parent cadb703ed8
commit f107c9bba1
+4
View File
@@ -269,6 +269,10 @@ void NodeView::Paste()
Core::instance()->undo_stack()->pushIfHasChildren(command);
if (!pasted_nodes.isEmpty()) {
foreach (Node* n, pasted_nodes) {
AssociateNodeWithSelectedBlocks(n);
}
AttachNodesToCursor(pasted_nodes);
}
}