Fixing checkbox keyboard handler
This commit is contained in:
parent
288e928ade
commit
49c5300ccd
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ static void SendCheckboxEvent(GWidgetObject *gw) {
|
||||||
{
|
{
|
||||||
// Only react on KEYDOWN events. Ignore KEYUP events.
|
// Only react on KEYDOWN events. Ignore KEYUP events.
|
||||||
if (pke->keystate & GKEYSTATE_KEYUP) {
|
if (pke->keystate & GKEYSTATE_KEYUP) {
|
||||||
break;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ENTER and SPACE keys to check/uncheck the checkbox
|
// ENTER and SPACE keys to check/uncheck the checkbox
|
||||||
|
|
Loading…
Add table
Reference in a new issue