IDEA-227938 - using a better API to deal with Progress Indicators in SdkDownloadTracker

GitOrigin-RevId: 86c19721867cdb563cdddc80b8bdcc5f50dbb8f9
This commit is contained in:
Eugene Petrenko
2020-01-16 11:34:32 +01:00
committed by intellij-monorepo-bot
parent 102eb31100
commit 3aaabfce59

View File

@@ -245,7 +245,7 @@ public class SdkDownloadTracker implements Disposable {
ProgressIndicatorBase middleMan = new ProgressIndicatorBase() {
@Override
protected void delegateProgressChange(@NotNull IndicatorAction action) {
action.execute(myProgressIndicator);
action.execute((ProgressIndicatorEx)indicator);
}
};
myProgressIndicator.addStateDelegate(middleMan);