fixed NPE and wrong undo/redo for ungroup

This commit is contained in:
bancika
2011-01-27 19:21:34 +00:00
parent 4ab6231590
commit 6fad7a2427
2 changed files with 22 additions and 18 deletions
@@ -885,7 +885,7 @@ public class Presenter implements IPlugInPort {
messageDispatcher.dispatchMessage(EventType.REPAINT);
if (!oldProject.equals(currentProject)) {
messageDispatcher.dispatchMessage(EventType.PROJECT_MODIFIED, oldProject, cloner
.deepClone(currentProject), "Group");
.deepClone(currentProject), "Ungroup");
projectFileManager.notifyFileChange();
}
}