diff --git a/components/anchordocking/anchordocking.pas b/components/anchordocking/anchordocking.pas index ce15952eee..c6f9b6853f 100644 --- a/components/anchordocking/anchordocking.pas +++ b/components/anchordocking/anchordocking.pas @@ -3148,7 +3148,7 @@ begin RaiseGDBException(''); dec(fUpdateCount); if fUpdateCount=0 then - QueueSimplify:=True; + SimplifyPendingLayouts; end; procedure TAnchorDockMaster.NeedSimplify(AControl: TControl);