1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:47:35 +00:00

Chess: Ignore unhandled keydown events

This makes Action shortcuts work again. :^)
This commit is contained in:
Sam Atkins 2022-12-14 15:43:14 +00:00 committed by Linus Groh
parent 30833b0ba8
commit faf30ed9ef

View file

@ -365,6 +365,7 @@ void ChessWidget::keydown_event(GUI::KeyEvent& event)
playback_move(PlaybackDirection::Last); playback_move(PlaybackDirection::Last);
break; break;
default: default:
event.ignore();
return; return;
} }
update(); update();