mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-08 04:59:20 +01:00
LCL: TCheckBox: Fixed the application crashes before the form is showing. Issue #35018
git-svn-id: trunk@60340 -
This commit is contained in:
parent
f72819e5bd
commit
b6923ebc84
@ -37,7 +37,7 @@ begin
|
||||
//some widgetsets (gtk*) does not allow to uncheck a radio button
|
||||
//only call OnChange if effectivelly changed
|
||||
FState := RetrieveState;
|
||||
if FState <> OldState then
|
||||
if (FState <> OldState) and not (csLoading in ComponentState) then
|
||||
DoClickOnChange;
|
||||
end;
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user