mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-08 19:27:20 +01:00
IDE: clean up
git-svn-id: trunk@49801 -
This commit is contained in:
parent
67c31934b5
commit
61f3ca566c
@ -1745,8 +1745,8 @@ begin
|
|||||||
// New path under Desktops/. Default=1 forces reading default values always.
|
// New path under Desktops/. Default=1 forces reading default values always.
|
||||||
FDebugDesktopName := FXMLCfg.GetValue(CurPath+'DebugDesktop', '');
|
FDebugDesktopName := FXMLCfg.GetValue(CurPath+'DebugDesktop', '');
|
||||||
j := FXMLCfg.GetValue(CurPath+'Count', 1);
|
j := FXMLCfg.GetValue(CurPath+'Count', 1);
|
||||||
for i := 0 to j-1 do
|
for i := 1 to j do
|
||||||
FDesktops.AddFromCfg(CurPath+'Desktop'+IntToStr(i+1)+'/');
|
FDesktops.AddFromCfg(CurPath+'Desktop'+IntToStr(i)+'/');
|
||||||
|
|
||||||
FActiveDesktopName := FXMLCfg.GetValue(CurPath+'ActiveDesktop', '');
|
FActiveDesktopName := FXMLCfg.GetValue(CurPath+'ActiveDesktop', '');
|
||||||
end else
|
end else
|
||||||
@ -1769,7 +1769,6 @@ begin
|
|||||||
|
|
||||||
FileUpdated;
|
FileUpdated;
|
||||||
except
|
except
|
||||||
// ToDo
|
|
||||||
on E: Exception do
|
on E: Exception do
|
||||||
DebugLn('[TEnvironmentOptions.Load] error reading "',FFilename,'": '+E.Message);
|
DebugLn('[TEnvironmentOptions.Load] error reading "',FFilename,'": '+E.Message);
|
||||||
end;
|
end;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user