mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
KeyboardMapper: Call event.ignore() on keydown in the main widget
This commit is contained in:
parent
76627ec0a2
commit
66b15e6cd6
Notes:
sideshowbarker
2024-07-17 04:28:32 +09:00
Author: https://github.com/Zaggy1024
Commit: 66b15e6cd6
Pull-request: https://github.com/SerenityOS/serenity/pull/15788
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/AtkinsSJ ✅
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue