Browse Source

Fixed loading nil value in a component property.

Henrique Gottardi Werlang 2 years ago
parent
commit
a456240851
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/rtl/classes.pas

+ 1 - 1
packages/rtl/classes.pas

@@ -8430,7 +8430,7 @@ begin
         vaNil:
           begin
             FDriver.ReadValue;
-            SetOrdProp(Instance, PropInfo, 0)
+            SetObjectProp(Instance, PropInfo, nil)
           end;
         vaCollection:
           begin