Skip to content
Snippets Groups Projects
Commit 67947665 authored by Dongyue Mou's avatar Dongyue Mou
Browse files

fixed bug which calls persistency service before init

refs 1376
parent 1c81d10c
No related branches found
No related tags found
No related merge requests found
......@@ -202,7 +202,9 @@ class ModelContext implements ITopLevelElement, CommandStackListener {
((BasicCommandStack)editingDomain.getCommandStack()).saveIsDone();
performNotifyListeners(editingDomain.getCommandStack());
IPersistencyService.INSTANCE.notifyTopLevelElementChanged(ModelContext.this);
if(IPersistencyService.INSTANCE != null) {
IPersistencyService.INSTANCE.notifyTopLevelElementChanged(ModelContext.this);
}
monitor.done();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment