Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Moffatt2013-04-04 17:29:15 +0000
committerEric Moffatt2013-04-04 17:30:42 +0000
commit24cee195f6bf8e51d662813fbd690df6b2ce3680 (patch)
treead0e50efb924540f6443aea2c1bb6d9b2aa40fd4
parentd0d966c9226abaada1a9b6bc98e4c486ceb4f640 (diff)
downloadeclipse.platform.ui-24cee195f6bf8e51d662813fbd690df6b2ce3680.tar.gz
eclipse.platform.ui-24cee195f6bf8e51d662813fbd690df6b2ce3680.tar.xz
eclipse.platform.ui-24cee195f6bf8e51d662813fbd690df6b2ce3680.zip
Fix for Bug 398509 - Regression to 4.2.1: Sending of postSelection
events stops working
-rw-r--r--bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/SelectionAggregator.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/SelectionAggregator.java b/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/SelectionAggregator.java
index 2fb7e59265f..2b452747c6c 100644
--- a/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/SelectionAggregator.java
+++ b/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/SelectionAggregator.java
@@ -264,6 +264,9 @@ public class SelectionAggregator {
String partId = part.getElementId();
boolean continueTracking = targetedListeners.containsKey(partId)
|| targetedPostListeners.containsKey(partId);
+ if (!continueTracking) {
+ tracked.remove(part.getContext());
+ }
return continueTracking;
}
return true;

Back to the top