nodeview: remove from positions map when removing node

This commit is contained in:
itsmattkc
2021-05-28 17:59:37 +10:00
parent 3bce63a0c4
commit e7ec9ccde2
+1
View File
@@ -996,6 +996,7 @@ void NodeView::RemoveNodePosition(Node *node, Node *relative)
}
if (!found) {
positions_.remove(scene_.item_map().value(node));
scene_.RemoveNode(node);
}
}