extra fix for IDEA-139797 - focusable history button
[idea/community.git] / platform / xdebugger-impl / src / com / intellij / xdebugger / impl / evaluate / ExpressionInputComponent.java
index d90216ce098762d2703c1c7d6aee7527d1dae5ec..dcfcf9bc7344e605a49cc681835de86ac0807c42 100644 (file)
@@ -62,6 +62,7 @@ public class ExpressionInputComponent extends EvaluationInputComponent {
                                                        expression != null ? expression : XExpressionImpl.EMPTY_EXPRESSION, false);
     myMainPanel.add(myExpressionEditor.getComponent(), BorderLayout.CENTER);
     JButton historyButton = new FixedSizeButton(myExpressionEditor.getComponent());
+    historyButton.setFocusable(true);
     historyButton.setIcon(AllIcons.General.MessageHistory);
     historyButton.setToolTipText(XDebuggerBundle.message("xdebugger.evaluate.history.hint"));
     historyButton.addActionListener(new ActionListener() {