summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorDaniel Rolka2013-06-18 06:18:26 (EDT)
committer Paul Webster2013-09-19 13:33:14 (EDT)
commit507334decafb8bde45cdd4c1f562cc85e6ee004a (patch)
tree05fe3a17977a0ce4cc2d49bb9d9ebf27fbb67ba9
parentb26ac6b74678597edab1228bcb022842215fe924 (diff)
downloadeclipse.platform.ui-507334decafb8bde45cdd4c1f562cc85e6ee004a.zip
eclipse.platform.ui-507334decafb8bde45cdd4c1f562cc85e6ee004a.tar.gz
eclipse.platform.ui-507334decafb8bde45cdd4c1f562cc85e6ee004a.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 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();
}
}