mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 05:39:18 +02:00
lazdelphi: do not store default values
This commit is contained in:
parent
45ded69b77
commit
4289e7ad30
@ -577,12 +577,18 @@ end;
|
||||
|
||||
procedure TLazProjectDelphiOptions.SetADO(AValue: String);
|
||||
begin
|
||||
CustomData[pKeyAdditionalOptions]:=aValue
|
||||
if AValue<>'' then
|
||||
CustomData[pKeyAdditionalOptions]:=aValue
|
||||
else
|
||||
CustomData.Remove(pKeyAdditionalOptions);
|
||||
end;
|
||||
|
||||
procedure TLazProjectDelphiOptions.SetDCF(AValue: Boolean);
|
||||
begin
|
||||
CustomData[pKeyGenConfigFile]:=IntToStr(Ord(aValue));
|
||||
if AValue then
|
||||
CustomData[pKeyGenConfigFile]:=IntToStr(Ord(aValue))
|
||||
else
|
||||
CustomData.Remove(pKeyGenConfigFile);
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user