mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Remove UseConfigInProgramDir from doublecmd.xml
This commit is contained in:
parent
0172748aef
commit
c1e9164dc1
1 changed files with 4 additions and 3 deletions
|
|
@ -2222,7 +2222,10 @@ begin
|
|||
if mbFileAccess(gpGlobalCfgDir + 'doublecmd.xml', fmOpenRead or fmShareDenyWrite) then
|
||||
begin
|
||||
LoadConfigCheckErrors(@LoadGlobalConfig, gpGlobalCfgDir + 'doublecmd.xml', ErrorMessage);
|
||||
gConfig.TryGetValue(gConfig.RootNode, 'Configuration/UseConfigInProgramDir', gUseConfigInProgramDir);
|
||||
if gConfig.TryGetValue(gConfig.RootNode, 'Configuration/UseConfigInProgramDir', gUseConfigInProgramDir) then
|
||||
begin
|
||||
gConfig.DeleteNode(gConfig.RootNode, 'Configuration/UseConfigInProgramDir');
|
||||
end;
|
||||
|
||||
if not gUseConfigInProgramDir then
|
||||
begin
|
||||
|
|
@ -3370,8 +3373,6 @@ begin
|
|||
SetAttr(Root, 'DCVersion', dcVersion);
|
||||
SetAttr(Root, 'ConfigVersion', ConfigVersion);
|
||||
|
||||
SetValue(Root, 'Configuration/UseConfigInProgramDir', gUseConfigInProgramDirNew);
|
||||
|
||||
{ Language page }
|
||||
SetValue(Root, 'Language/POFileName', gPOFileName);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue