]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/handlers/e4/SyncCurrentTypicalTemplateToInstances.java
Sync git svn branch with SVN repository r33319.
[simantics/platform.git] / bundles / org.simantics.modeling.ui / src / org / simantics / modeling / ui / handlers / e4 / SyncCurrentTypicalTemplateToInstances.java
index f262cd56e53a3868e3ef4c86683769513dad9100..d3d1de3896c45100c4f22d04f03587931d620afd 100644 (file)
@@ -77,6 +77,7 @@ public class SyncCurrentTypicalTemplateToInstances {
             RuleChooserDialog.RuleResult result = RuleChooserDialog.choose(shell, "Synchronizing typical template to all its instances.", new Resource[] { input.getResource() });\r
             if(result == null) return;\r
 \r
+            session.markUndoPoint();\r
             SyncTypicalTemplatesToInstances req = new SyncTypicalTemplatesToInstances(result.selectedRules, input.getResource()).logging(result.logging); \r
             session.syncRequest(req);\r
             if (result.logging) {\r