Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Piech2012-04-03 14:01:28 -0400
committerPawel Piech2012-04-03 14:01:28 -0400
commit319aba8ec15d6f560d2036493c6fbd370d8dbaa3 (patch)
treea0a3f17e5c22f8b72090ee668b358691b9dfcd48
parentc54089f1f692a6ecad158aa776cce7ee1d073ee8 (diff)
downloadeclipse.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.java2
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);

Back to the top