aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Rolka2013-06-18 06:18:26 (EDT)
committerPaul Webster2013-09-19 13:32:10 (EDT)
commitf5371d9614da12ae8c299838364fb094f942c8dc (patch)
tree954830cbb713e28928d041be1a6ca2679783286c
parent71ef4cfd0652f6059411582138cfcc3086b6b4d5 (diff)
downloadeclipse.platform.ui-f5371d9614da12ae8c299838364fb094f942c8dc.zip
eclipse.platform.ui-f5371d9614da12ae8c299838364fb094f942c8dc.tar.gz
eclipse.platform.ui-f5371d9614da12ae8c299838364fb094f942c8dc.tar.bz2
Bug 406275 - Save All is disabled only after 2nd click
Fix for the issue mentioned in the comment #8 Signed-off-by: Daniel Rolka <daniel.rolka@pl.ibm.com>
-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 6d68da6..fc4c159 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();
}
}