prevent double getter

This commit is contained in:
Basile Burg 2019-02-03 15:03:29 +01:00
parent 90ce30f032
commit 13d7309439
1 changed files with 4 additions and 2 deletions

View File

@ -1689,6 +1689,7 @@ var
i: Integer; i: Integer;
w: TDexedWidget; w: TDexedWidget;
s: TAnchorDockSplitter; s: TAnchorDockSplitter;
h: TAnchorDockHostSite;
begin begin
if not reset then if not reset then
@ -1727,8 +1728,9 @@ begin
continue; continue;
if w = fEditWidg then if w = fEditWidg then
continue; continue;
if DockMaster.GetAnchorSite(w).isNotNil then h := DockMaster.GetAnchorSite(w);
DockMaster.GetAnchorSite(w).ManualFloat(w.ClientRect, false); if h.isNotNil then
h.ManualFloat(w.ClientRect, false);
end; end;
end; end;