EmptyProgressIndicator: use defaultModalityState() as default

This commit is contained in:
Aleksey Pivovarov
2016-06-30 12:58:12 +03:00
committed by Aleksey Pivovarov
parent e23cc9ef2d
commit fad925ee37
@@ -26,7 +26,7 @@ public class EmptyProgressIndicator implements StandardProgressIndicator {
private volatile boolean myIsCanceled;
public EmptyProgressIndicator() {
this(ModalityState.NON_MODAL);
this(ModalityState.defaultModalityState());
}
public EmptyProgressIndicator(@NotNull ModalityState modalityState) {