Github user FSchumacher commented on a diff in the pull request:

    https://github.com/apache/jmeter/pull/396#discussion_r212836512
  
    --- Diff: src/core/org/apache/jmeter/gui/MainFrame.java ---
    @@ -680,7 +683,15 @@ private void addQuickComponentHotkeys(JTree treevar) {
     
                 @Override
                 public void actionPerformed(ActionEvent actionEvent) {
    -                String propname = "gui.quick_" + 
actionEvent.getActionCommand();
    +                //Bug 62336
    +                AWTEvent current_event = EventQueue.getCurrentEvent();
    +                String key_text = "";
    +                if(current_event instanceof KeyEvent) {
    +                    KeyEvent key_event = (KeyEvent)current_event;
    --- End diff --
    
    Here I would put a space after the closing parenthesis as this is a cast.


---

Reply via email to