IDE: Load a value also for Comboboxes in All Compiler Option GUI. Was disabled for some reason. Issue #26994.

git-svn-id: trunk@46763 -
This commit is contained in:
juha 2014-11-06 00:07:30 +00:00
parent 5f894bec77
commit 25b93e4ca7

View File

@ -701,12 +701,8 @@ begin
end;
if Opt = Nil then begin
Opt := FindOption(Copy(aOptAndValue, 1, OptLen));
if Assigned(Opt) then begin
if Opt.fEditKind in [oeNumber,oeText] then
Opt.SetValue(Param, fOwnerReader.fCurOrigLine)
else
Opt := Nil;
end;
if Assigned(Opt) then
Opt.SetValue(Param, fOwnerReader.fCurOrigLine)
end;
end;
Result := Assigned(Opt);