mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-24 07:09:07 +02:00
fixed TControl.HandleObjectShouldBeVisible to ignore loading state
git-svn-id: trunk@9140 -
This commit is contained in:
parent
639b8b29b6
commit
a7a8977dfb
@ -3008,8 +3008,7 @@ function TControl.HandleObjectShouldBeVisible: boolean;
|
||||
begin
|
||||
Result:=(Visible
|
||||
or ((csDesigning in ComponentState)
|
||||
and not (csNoDesignVisible in ControlStyle)))
|
||||
and not (csLoading in ComponentState);
|
||||
and not (csNoDesignVisible in ControlStyle)));
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user