diff options
author | Peter Elliott <pelliott@ualberta.ca> | 2020-07-06 13:08:00 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-11 18:51:41 +0200 |
commit | 0fd31ef598daf635277f97b54ddd7a53d2fac8c6 (patch) | |
tree | 679fe36d225d3f7c8852ff25c3f524d5864bf97a /Libraries | |
parent | 7241b9ca0ccf549974a2fbe3efa07e01f02d5817 (diff) | |
download | serenity-0fd31ef598daf635277f97b54ddd7a53d2fac8c6.zip |
LibGUI: Ignore KeyUp events by default
fixed #2576
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibGUI/Widget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibGUI/Widget.cpp b/Libraries/LibGUI/Widget.cpp index 93fc35e038..f64d1df5b2 100644 --- a/Libraries/LibGUI/Widget.cpp +++ b/Libraries/LibGUI/Widget.cpp @@ -365,8 +365,9 @@ void Widget::keydown_event(KeyEvent& event) event.ignore(); } -void Widget::keyup_event(KeyEvent&) +void Widget::keyup_event(KeyEvent& event) { + event.ignore(); } void Widget::mousedown_event(MouseEvent&) |