fix, bug introduced by f4da130df1.

first launch, all widgets were hidden. The optimization is only set if the docking have been saved at least one.
This commit is contained in:
Basile Burg 2015-01-27 23:40:45 +01:00
parent db55163001
commit 56299e965f
1 changed files with 1 additions and 1 deletions

View File

@ -523,7 +523,7 @@ begin
for i := 0 to fWidgList.Count-1 do for i := 0 to fWidgList.Count-1 do
begin begin
DockMaster.MakeDockable(fWidgList.widget[i], false); DockMaster.MakeDockable(fWidgList.widget[i], not fileExists(getCoeditDocPath + 'docking.xml'));
DockMaster.GetAnchorSite(fWidgList.widget[i]).Header.HeaderPosition := adlhpTop; DockMaster.GetAnchorSite(fWidgList.widget[i]).Header.HeaderPosition := adlhpTop;
end; end;