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