mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user