diff options
author | Pawel Piech | 2012-04-03 18:01:28 +0000 |
---|---|---|
committer | Pawel Piech | 2012-04-03 18:01:28 +0000 |
commit | 319aba8ec15d6f560d2036493c6fbd370d8dbaa3 (patch) | |
tree | a0a3f17e5c22f8b72090ee668b358691b9dfcd48 | |
parent | c54089f1f692a6ecad158aa776cce7ee1d073ee8 (diff) | |
download | eclipse.platform.debug-319aba8ec15d6f560d2036493c6fbd370d8dbaa3.tar.gz eclipse.platform.debug-319aba8ec15d6f560d2036493c6fbd370d8dbaa3.tar.xz eclipse.platform.debug-319aba8ec15d6f560d2036493c6fbd370d8dbaa3.zip |
Bug 375887 - [debug context] IDebugContextService.removeDebugContextProvider()
should trigger an active context notification in view
- Updated removeDebugContextProvider() to use active provider in notification.
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contexts/DebugWindowContextService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contexts/DebugWindowContextService.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contexts/DebugWindowContextService.java index 6ae570879..eac1598d2 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contexts/DebugWindowContextService.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contexts/DebugWindowContextService.java @@ -125,7 +125,7 @@ public class DebugWindowContextService implements IDebugContextService, IPartLis } else { // Notify listeners of the removed provider with the active window context. notifyPart(provider.getPart(), - new DebugContextEvent(provider, getActiveContext(), DebugContextEvent.ACTIVATED)); + new DebugContextEvent(activeProvider, getActiveContext(), DebugContextEvent.ACTIVATED)); } } provider.removeDebugContextListener(this); |