Browse Source

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

Zaggy1024 2 năm trước cách đây
mục cha
commit
66b15e6cd6

+ 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)