Merge branch 'refactor'
[potlatch2.git] / net / systemeD / potlatch2 / mapfeatures / editors / TurnRestrictionIcon.mxml
index f7cebe687d4e854192ae37ebc836847c98e3bdde..11465a4a692b104c97e05497ccf64a7301eed413 100644 (file)
                // now add new entity
                rel.appendMember(new RelationMember(entity,role), undo.push);
 
-        undo.doAction();
+        MainUndoStack.getGlobalStack().addAction(undo);
 
                if (show.label=='Hide') { setHighlights(true); }
        }