mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
vcs: start LocalChanges progress indicator earlier
GitOrigin-RevId: 0ff16ddadc87caf47ab7fc4a90fe1b561c1108ae
This commit is contained in:
committed by
intellij-monorepo-bot
parent
43e4c630c0
commit
3c622cd60e
@@ -15,7 +15,6 @@ import com.intellij.openapi.components.StoragePathMacros;
|
||||
import com.intellij.openapi.components.impl.stores.IProjectStore;
|
||||
import com.intellij.openapi.diagnostic.Logger;
|
||||
import com.intellij.openapi.fileEditor.FileDocumentManager;
|
||||
import com.intellij.openapi.progress.EmptyProgressIndicator;
|
||||
import com.intellij.openapi.progress.ProcessCanceledException;
|
||||
import com.intellij.openapi.progress.ProgressIndicator;
|
||||
import com.intellij.openapi.progress.ProgressManager;
|
||||
@@ -479,6 +478,7 @@ public class ChangeListManagerImpl extends ChangeListManagerEx implements Change
|
||||
}
|
||||
}
|
||||
dataHolder.notifyStart();
|
||||
myChangesViewManager.setBusy(true);
|
||||
myChangesViewManager.scheduleRefresh();
|
||||
|
||||
SensitiveProgressWrapper vcsIndicator = new SensitiveProgressWrapper(ProgressManager.getInstance().getProgressIndicator());
|
||||
@@ -570,7 +570,6 @@ public class ChangeListManagerImpl extends ChangeListManagerEx implements Change
|
||||
for (final VcsDirtyScope scope : scopes) {
|
||||
indicator.checkCanceled();
|
||||
|
||||
myChangesViewManager.setBusy(true);
|
||||
actualUpdate(builder, scope, scope.getVcs(), dataHolder, updater, indicator);
|
||||
|
||||
synchronized (myDataLock) {
|
||||
|
||||
Reference in New Issue
Block a user