mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 19:39:28 +02:00
IDE: environmentoption.xml: if file has no version use current version to get get current defaults
git-svn-id: trunk@51714 -
This commit is contained in:
parent
84f6747f70
commit
f5d37c87cb
@ -1674,7 +1674,7 @@ begin
|
|||||||
// ToDo: Get rid of EnvironmentOptions/ path. The whole file is about
|
// ToDo: Get rid of EnvironmentOptions/ path. The whole file is about
|
||||||
// environment options. Many section are not under it any more.
|
// environment options. Many section are not under it any more.
|
||||||
Path:='EnvironmentOptions/';
|
Path:='EnvironmentOptions/';
|
||||||
FFileVersion:=FXMLCfg.GetValue(Path+'Version/Value',0);
|
FFileVersion:=FXMLCfg.GetValue(Path+'Version/Value',EnvOptsVersion);
|
||||||
FOldLazarusVersion:=FXMLCfg.GetValue(Path+'Version/Lazarus','');
|
FOldLazarusVersion:=FXMLCfg.GetValue(Path+'Version/Lazarus','');
|
||||||
if FOldLazarusVersion='' then begin
|
if FOldLazarusVersion='' then begin
|
||||||
// 108 added LastCalledByLazarusFullPath
|
// 108 added LastCalledByLazarusFullPath
|
||||||
|
Loading…
Reference in New Issue
Block a user