Fixed: wrong version committed
This commit is contained in:
parent
330ba47f5e
commit
ccda940d01
@ -206,18 +206,16 @@ begin
|
||||
pDefine := FFactory.GetDefine(FSection, AName);
|
||||
|
||||
if not InternalReadBool(AName, Result) then
|
||||
begin
|
||||
if Assigned(pDefine) then
|
||||
Result := pDefine.Value
|
||||
else
|
||||
raise EX2SettingsUndefined.CreateFmt(RSUndefined, [AName])
|
||||
|
||||
if Assigned(pDefine) then
|
||||
begin
|
||||
vValue := Result;
|
||||
pDefine.Action(saRead, FSection, AName, vValue);
|
||||
Result := vValue;
|
||||
end;
|
||||
if Assigned(pDefine) then
|
||||
begin
|
||||
vValue := Result;
|
||||
pDefine.Action(saRead, FSection, AName, vValue);
|
||||
Result := vValue;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user