IdeIntf: Fix TVariantPropertyEditor. Issue #19324.

git-svn-id: trunk@56146 -
This commit is contained in:
juha 2017-10-22 16:01:36 +00:00
parent a94aba960e
commit 82ea3d79fe

View File

@ -5449,9 +5449,9 @@ var
V: Variant; V: Variant;
begin begin
try try
VarCast(V{%H-}, Value, VarType(GetVarValue));
except
V := Value; V := Value;
except
V := 0; // Some backup value.
end; end;
SetVarValue(V); SetVarValue(V);
end; end;