mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:37:45 +00:00
Chess: Ignore unhandled keydown events
This makes Action shortcuts work again. :^)
This commit is contained in:
parent
30833b0ba8
commit
faf30ed9ef
1 changed files with 1 additions and 0 deletions
|
@ -365,6 +365,7 @@ void ChessWidget::keydown_event(GUI::KeyEvent& event)
|
|||
playback_move(PlaybackDirection::Last);
|
||||
break;
|
||||
default:
|
||||
event.ignore();
|
||||
return;
|
||||
}
|
||||
update();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue