mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 16:16:05 +02:00
LCL: UpdateControlState: hiding: call UpdateShowing
git-svn-id: trunk@24258 -
This commit is contained in:
parent
01c218b44b
commit
4396ed019b
@ -5994,7 +5994,10 @@ begin
|
||||
UpdateShowing;
|
||||
{$ELSE}
|
||||
//DebugLn(['TWinControl.UpdateControlState ',DbgSName(Self),' wcfAllAutoSizing=',wcfAllAutoSizing in FWinControlFlags,' AutoSizeDelayed=',AutoSizeDelayed,' HandleObjectShouldBeVisible=',HandleObjectShouldBeVisible]);
|
||||
AdjustSize; // this will trigger DoAllAutoSize, which calls UpdateShowing
|
||||
if HandleObjectShouldBeVisible then
|
||||
AdjustSize // this will trigger DoAllAutoSize, which calls UpdateShowing
|
||||
else
|
||||
UpdateShowing;
|
||||
{$ENDIF}
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user