IDEA-CR-16919 update on doCommit as well

This commit is contained in:
Vladimir Krivosheev
2016-12-27 11:48:27 +01:00
parent b51aca4f1b
commit a9b38aba25
@@ -179,6 +179,13 @@ public class ModuleRootManagerImpl extends ModuleRootManager implements Disposab
static void doCommit(RootModelImpl rootModel) {
rootModel.docommit();
rootModel.dispose();
try {
((ModuleRootManagerImpl)getInstance(rootModel.getModule())).myModificationCount++;
}
catch (Exception e) {
LOG.error(e);
}
}