Commit c1a20347 authored by Juha Manninen's avatar Juha Manninen
Browse files

AnchorDocking: Use async call for SimplifyPendingLayouts always. Issue #32591.

git-svn-id: trunk@56156 -
parent 74277378
......@@ -3436,7 +3436,7 @@ begin
RaiseGDBException('');
dec(fUpdateCount);
if fUpdateCount=0 then
SimplifyPendingLayouts;
QueueSimplify:=True;
end;
procedure TAnchorDockMaster.NeedSimplify(AControl: TControl);
......@@ -3736,7 +3736,7 @@ begin
try
BeginUpdateLayout;
try
DockMaster.SimplifyPendingLayouts;
DockMaster.QueueSimplify:=True;
NewControl.DisableAutoSizing{$IFDEF DebugDisableAutoSizing}('TAnchorDockHostSite.ExecuteDock NewControl'){$ENDIF};
if (NewControl.Parent=Self) and (SiteType=adhstLayout) then begin
......@@ -6706,7 +6706,7 @@ begin
if Site=nil then exit;
DockMaster.RestoreLayouts.Add(DockMaster.CreateRestoreLayout(Site),true);
Site.CloseSite;
DockMaster.SimplifyPendingLayouts;
DockMaster.QueueSimplify:=True;
end;
procedure TAnchorDockPageControl.MoveLeftButtonClick(Sender: TObject);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment