]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.plant3d/src/org/simantics/plant3d/actions/AddComponentAction.java
Mark undo pints when committing changes to the graph
[simantics/3d.git] / org.simantics.plant3d / src / org / simantics / plant3d / actions / AddComponentAction.java
index a4398a5455b582fab3c3192800593c9f921e5c7d..18087b68ce17387fe4394ce7010a0f439847ed68 100644 (file)
@@ -117,7 +117,7 @@ public class AddComponentAction extends vtkSwtAction {
        public void deattach() {
 //             deactivate();
                component = null;
-               nodeMap.commit();
+               nodeMap.commit("Add component");
                deattachUI();
                super.deattach();
                panel.refresh();