summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorDaniel Rolka2013-06-18 06:18:26 (EDT)
committer Gerrit Code Review @ Eclipse.org2013-06-20 09:23:54 (EDT)
commit92414611ce10ef5713ba2ef1ec890a7838229ee7 (patch)
treee0e0b79cd150ba0d655f7e700758e46eb5206a52
parent99b1e33c7889ba04c085932337a709b7961d1232 (diff)
downloadeclipse.platform.ui-92414611ce10ef5713ba2ef1ec890a7838229ee7.zip
eclipse.platform.ui-92414611ce10ef5713ba2ef1ec890a7838229ee7.tar.gz
eclipse.platform.ui-92414611ce10ef5713ba2ef1ec890a7838229ee7.tar.bz2
Bug 406275 - Save All is disabled only after 2nd clickrefs/changes/67/13867/2
Fix for the issue mentioned in the comment #8
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/handlers/DirtyStateTracker.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/handlers/DirtyStateTracker.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/handlers/DirtyStateTracker.java
index 4e442c1..91d5221 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/handlers/DirtyStateTracker.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/handlers/DirtyStateTracker.java
@@ -85,6 +85,7 @@ public class DirtyStateTracker implements IPartListener, IWindowListener,
public void partClosed(IWorkbenchPart part) {
if (part instanceof ISaveablePart) {
part.removePropertyListener(this);
+ update();
}
}