mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-06 19:15:32 +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.
|
||||
FDebugDesktopName := FXMLCfg.GetValue(CurPath+'DebugDesktop', '');
|
||||
j := FXMLCfg.GetValue(CurPath+'Count', 1);
|
||||
for i := 0 to j-1 do
|
||||
FDesktops.AddFromCfg(CurPath+'Desktop'+IntToStr(i+1)+'/');
|
||||
for i := 1 to j do
|
||||
FDesktops.AddFromCfg(CurPath+'Desktop'+IntToStr(i)+'/');
|
||||
|
||||
FActiveDesktopName := FXMLCfg.GetValue(CurPath+'ActiveDesktop', '');
|
||||
end else
|
||||
@ -1769,7 +1769,6 @@ begin
|
||||
|
||||
FileUpdated;
|
||||
except
|
||||
// ToDo
|
||||
on E: Exception do
|
||||
DebugLn('[TEnvironmentOptions.Load] error reading "',FFilename,'": '+E.Message);
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user