Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Piech2011-01-24 14:33:27 -0500
committerPawel Piech2011-01-24 14:33:27 -0500
commit1e7fe4dab039a92f22d5e4467aed10816f996a99 (patch)
tree2b802c184e40a6817a3a83b55d4e74314ae17f26
parenta58de592a68d493afa71baf84b5a038eeca3db2d (diff)
downloadeclipse.platform.debug-1e7fe4dab039a92f22d5e4467aed10816f996a99.tar.gz
eclipse.platform.debug-1e7fe4dab039a92f22d5e4467aed10816f996a99.tar.xz
eclipse.platform.debug-1e7fe4dab039a92f22d5e4467aed10816f996a99.zip
Bug 331932 - 'Console' view disregards IHandlerService's deactivateHandler(IHandlerActivation) javadoc and passes in null
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleView.java b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleView.java
index 31c867809..f8952055a 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleView.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleView.java
@@ -173,7 +173,7 @@ public class ConsoleView extends PageBookView implements IConsoleView, IConsoleL
if (!fStack.isEmpty()) {
tos = (IConsole) fStack.get(0);
}
- if (tos != null && !tos.equals(fActiveConsole)) {
+ if (tos != null && !tos.equals(fActiveConsole) && fActive) {
deactivateParticipants(tos);
}
if (fActiveConsole != null && !fActiveConsole.equals(tos)) {

Back to the top