Use correct modality state for CLM.freeze()

E.g. if Update Project happens under a modal progress (instead of bg).

Relates to IDEA-156339.
This commit is contained in:
Kirill Likhodedov
2016-06-25 18:01:03 +03:00
parent 6646f04e53
commit 7d4928eafa
@@ -395,7 +395,7 @@ public class ChangeListManagerImpl extends ChangeListManagerEx implements Projec
freezeImmediately(reason);
context.ping();
}
}, InvokeAfterUpdateMode.SILENT_CALLBACK_POOLED, "", ModalityState.NON_MODAL);
}, InvokeAfterUpdateMode.SILENT_CALLBACK_POOLED, "", ModalityState.defaultModalityState());
context.suspend();
}