LazControls: Fix TThemedCheckBox.KeyUp. Issue #0029406.

git-svn-id: trunk@51454 -
This commit is contained in:
bart 2016-01-30 12:20:28 +00:00
parent 3d7b81c5a9
commit 96305118da

View File

@ -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;