Fix for AnchorDockingDsgn LoadDefaultLayout
Original Reporter info from Mantis: Michl @michl1
-
Reporter name: Michl
Original Reporter info from Mantis: Michl @michl1
- Reporter name: Michl
Description:
Since revision 49778 (patch was from Ondrej), the default layout for AnchorDockingDsgn is loaded in TMainIDE.Create not in MainIDE.StartIDE anymore. Thatswhile the package macros aren't yet available and the macro in AnchorDesktopOptions.TAnchorDesktopOpt.LoadDefaultLayout
BaseDir := '$PkgDir(AnchorDockingDsgn)';
IDEMacros.SubstituteMacros(BaseDir);
failed.
Here is a patch, to use the default AnchorDockingDesign as a resource, so it can be loaded every time. Tested on Windows and Linux.
It fixes the layout bug for #29863 (closed)
Related infos:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Desktops-with-docked-IDE-td4043822.html
Mantis conversion info:
- Mantis ID: 31084
- Build: 53578
- Version: 1.7 (SVN)
- Fixed in revision: 53592 (#7d0f452c)