Browse Source

KeyboardMapper: Call event.ignore() on keydown in the main widget

Zaggy1024 2 years ago
parent
commit
66b15e6cd6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Userland/Applications/KeyboardMapper/KeyboardMapperWidget.cpp

+ 2 - 0
Userland/Applications/KeyboardMapper/KeyboardMapperWidget.cpp

@@ -216,6 +216,8 @@ void KeyboardMapperWidget::keydown_event(GUI::KeyEvent& event)
     if (m_automatic_modifier && event.modifiers() > 0) {
         update_modifier_radio_buttons(event);
     }
+
+    event.ignore();
 }
 
 void KeyboardMapperWidget::keyup_event(GUI::KeyEvent& event)