mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 15:58:37 +02:00
DateTimePicker - simplification of the condition in DoAutoCheck
git-svn-id: trunk@65437 -
This commit is contained in:
parent
b6a0c5b23d
commit
34efa77cd5
@ -3881,8 +3881,8 @@ end;
|
||||
|
||||
procedure TCustomDateTimePicker.DoAutoCheck;
|
||||
begin
|
||||
if ShowCheckBox and not Checked and (dtpoAutoCheck in Options) then
|
||||
Checked := True;
|
||||
if dtpoAutoCheck in Options then
|
||||
SetChecked(True);
|
||||
end;
|
||||
|
||||
procedure TCustomDateTimePicker.DoAutoAdjustLayout(
|
||||
|
Loading…
Reference in New Issue
Block a user