Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ShowConsoleAction.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ShowConsoleAction.java b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ShowConsoleAction.java
index a8907bd54..7fe070f58 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ShowConsoleAction.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ShowConsoleAction.java
@@ -45,10 +45,9 @@ public class ShowConsoleAction extends Action {
* @param console the console
*/
public ShowConsoleAction(IConsoleView view, IConsole console) {
- super();
+ super(console.getName(), AS_RADIO_BUTTON);
fConsole = console;
fView = view;
- setText(console.getName());
setImageDescriptor(console.getImageDescriptor());
}
}

Back to the top