summaryrefslogtreecommitdiff
path: root/Userland/Games
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2022-12-14 15:45:15 +0000
committerLinus Groh <mail@linusgroh.de>2022-12-14 18:25:02 +0000
commit4752d8fd08310b3255b00842fbf6421c750fc1dc (patch)
tree68ac49c07e98a19cd1356a03994c679aa7de1eea /Userland/Games
parent10c4c552e7675c520b691ddf815249e44b76d401 (diff)
downloadserenity-4752d8fd08310b3255b00842fbf6421c750fc1dc.zip
MasterWord: Ignore unhandled keydown events
This makes Action shortcuts work again. :^)
Diffstat (limited to 'Userland/Games')
-rw-r--r--Userland/Games/MasterWord/WordGame.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Games/MasterWord/WordGame.cpp b/Userland/Games/MasterWord/WordGame.cpp
index 398fa5307d..755f59c144 100644
--- a/Userland/Games/MasterWord/WordGame.cpp
+++ b/Userland/Games/MasterWord/WordGame.cpp
@@ -113,6 +113,8 @@ void WordGame::keydown_event(GUI::KeyEvent& event)
reset();
}
}
+ } else {
+ event.ignore();
}
update();