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:
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);
|
playback_move(PlaybackDirection::Last);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
event.ignore();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
update();
|
update();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue