mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-23 11:19:10 +02:00
LazControls: Fix TThemedCheckBox.KeyUp. Issue #0029406.
git-svn-id: trunk@51454 -
This commit is contained in:
parent
3d7b81c5a9
commit
96305118da
@ -295,7 +295,7 @@ end;
|
||||
|
||||
procedure TCustomCheckBoxThemed.KeyUp(var Key: Word; Shift: TShiftState);
|
||||
begin
|
||||
inherited KeyDown(Key, Shift);
|
||||
inherited KeyUp(Key, Shift);
|
||||
if (Key in [VK_RETURN, VK_SPACE]) and not (ssCtrl in Shift) then begin
|
||||
CheckBoxPressed := False;
|
||||
DoClick;
|
||||
|
Loading…
Reference in New Issue
Block a user