diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2022-12-14 15:52:26 +0000 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-12-14 18:25:02 +0000 |
commit | 7c17e73c7f21f5fc7d73c3ff6bd8b8881f77bbb9 (patch) | |
tree | 97798f6b46abd491ba9b373bec46ff0fbf6767c2 | |
parent | 97e157708f1fbf70710b6a8b85ab591494f62c94 (diff) | |
download | serenity-7c17e73c7f21f5fc7d73c3ff6bd8b8881f77bbb9.zip |
SpaceAnalyzer: Ignore unhandled keydown events
This makes Action shortcuts work again. :^)
-rw-r--r-- | Userland/Applications/SpaceAnalyzer/TreeMapWidget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Applications/SpaceAnalyzer/TreeMapWidget.cpp b/Userland/Applications/SpaceAnalyzer/TreeMapWidget.cpp index d26d630907..e11aa6347c 100644 --- a/Userland/Applications/SpaceAnalyzer/TreeMapWidget.cpp +++ b/Userland/Applications/SpaceAnalyzer/TreeMapWidget.cpp @@ -331,6 +331,8 @@ void TreeMapWidget::keydown_event(GUI::KeyEvent& event) set_viewpoint(m_viewpoint == 0 ? m_path.size() : m_viewpoint - 1); else if (event.key() == KeyCode::Key_Right) set_viewpoint(m_viewpoint == m_path.size() ? 0 : m_viewpoint + 1); + else + event.ignore(); } void TreeMapWidget::mousewheel_event(GUI::MouseEvent& event) |