]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.plant3d/src/org/simantics/plant3d/actions/AddEquipmentAction.java
Simplified free ended variable length component update
[simantics/3d.git] / org.simantics.plant3d / src / org / simantics / plant3d / actions / AddEquipmentAction.java
index 6c66909a845f6fae241885f8f14c56ea98767581..ae7603ca6ab3cda78c69d79384b56d4e22370fa3 100644 (file)
@@ -25,7 +25,7 @@ public class AddEquipmentAction extends Action {
                        String n = root.getUniqueName(item.getName());
                        equipment.setName(n);
                        root.addChild(equipment);
-                       root.getNodeMap().commit();
+                       root.getNodeMap().commit("Add equipment " + n);
                } catch (Exception e) {
                        ExceptionUtils.logAndShowError("Cannot create equipment",e);
                }