diff options
author | Eric Moffatt | 2013-04-04 17:29:15 +0000 |
---|---|---|
committer | Dani Megert | 2013-04-05 11:21:37 +0000 |
commit | 2223c41bef449202fb6017ee8d7a571cf3e5010f (patch) | |
tree | 1723f00a9031752fcca5d3e5fc87282fa016d5cc | |
parent | c626bd396fa2b29bc64919e658b3f2c0045f9e0e (diff) | |
download | eclipse.platform.ui-2223c41bef449202fb6017ee8d7a571cf3e5010f.tar.gz eclipse.platform.ui-2223c41bef449202fb6017ee8d7a571cf3e5010f.tar.xz eclipse.platform.ui-2223c41bef449202fb6017ee8d7a571cf3e5010f.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.java | 3 |
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; |