IDE: always store lazarus directory

git-svn-id: trunk@36538 -
This commit is contained in:
mattias 2012-04-03 07:47:58 +00:00
parent 8bccb857bc
commit aefd41ef26

View File

@ -1456,7 +1456,7 @@ begin
CurLazDir:=CreateRelativePath(CurLazDir,GetPrimaryConfigPath);
end;
end;
XMLConfig.SetDeleteValue(Path+'LazarusDirectory/Value',CurLazDir,'');
XMLConfig.SetValue(Path+'LazarusDirectory/Value',CurLazDir); // always store, no SetDeleteValue
SaveRecentList(XMLConfig,FLazarusDirHistory,
Path+'LazarusDirectory/History/');
XMLConfig.SetDeleteValue(