mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-16 03:00:30 +01:00
anchordocking: less debug
git-svn-id: trunk@50276 -
This commit is contained in:
parent
d1b63130f9
commit
30d0635cc2
@ -2749,7 +2749,9 @@ begin
|
||||
Config.AppendBasePath('Restores/');
|
||||
RestoreLayouts.SaveToConfig(Config);
|
||||
Config.UndoAppendBasePath;
|
||||
{$IFDEF VerboseAnchorDocking}
|
||||
WriteDebugLayout('TAnchorDockMaster.SaveLayoutToConfig ',Tree.Root);
|
||||
{$ENDIF}
|
||||
//DebugWriteChildAnchors(Tree.Root);
|
||||
finally
|
||||
Tree.Free;
|
||||
|
||||
@ -215,7 +215,9 @@ begin
|
||||
FTree.SaveToConfig(Path+'MainConfig/', aXMLCfg);
|
||||
FRestoreLayouts.SaveToConfig(Path+'Restores/', aXMLCfg);
|
||||
FSettings.SaveToConfig(Path+'Settings/', aXMLCfg);
|
||||
{$IFDEF VerboseAnchorDocking}
|
||||
WriteDebugLayout('TAnchorDesktopOpt.SaveLayoutToConfig ',FTree.Root);
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
procedure TAnchorDesktopOpt.SaveMainLayoutToTree;
|
||||
@ -241,8 +243,10 @@ begin
|
||||
if AForm=nil then continue;
|
||||
if SavedSites.IndexOf(AForm)>=0 then continue;
|
||||
SavedSites.Add(AForm);
|
||||
{$IFDEF VerboseAnchorDocking}
|
||||
debugln(['TAnchorDesktopOpt.SaveMainLayoutToTree AForm=',DbgSName(AForm)]);
|
||||
DebugWriteChildAnchors(AForm,true,true);
|
||||
{$ENDIF}
|
||||
if (AForm is TAnchorDockHostSite) then begin
|
||||
Site:=TAnchorDockHostSite(AForm);
|
||||
LayoutNode:=FTree.NewNode(FTree.Root);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user