IDE: clean up

git-svn-id: trunk@49801 -
This commit is contained in:
mattias 2015-09-09 21:15:24 +00:00
parent 67c31934b5
commit 61f3ca566c

View File

@ -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;