Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/WorkbenchSiteProgressService.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/WorkbenchSiteProgressService.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/WorkbenchSiteProgressService.java
index 84c6b2467d7..46922e0f06a 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/WorkbenchSiteProgressService.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/WorkbenchSiteProgressService.java
@@ -170,6 +170,7 @@ public class WorkbenchSiteProgressService implements
}
ProgressManager.getInstance().removeListener(this);
+ showBusy(false);
if (waitCursor == null) {
return;
@@ -453,11 +454,9 @@ public class WorkbenchSiteProgressService implements
protected void showBusy(boolean busy) {
MPart part = site.getModel();
- boolean containsBusyTag = part.getTags().contains(CSSConstants.CSS_BUSY_CLASS);
-
- if (busy && !containsBusyTag) {
+ if (busy) {
part.getTags().add(CSSConstants.CSS_BUSY_CLASS);
- } else if (!busy && containsBusyTag) {
+ } else {
part.getTags().remove(CSSConstants.CSS_BUSY_CLASS);
}
}

Back to the top