Browse Source

* Correct callback handler for object tree

Michaël Van Canneyt 1 year ago
parent
commit
d0b03c9c71
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/wasm-oi/src/wasm.debuginspector.rtti.pas

+ 1 - 1
packages/wasm-oi/src/wasm.debuginspector.rtti.pas

@@ -214,7 +214,7 @@ class constructor TWasmDebugInspector.init;
 begin
   _List:=TInspectorList.Create;
   OnGetObjectProperties:=@_List.HandleObjectPropertiesEvent;
-  OnGetObjectTree:=@_List.HandleObjectPropertiesEvent;
+  OnGetObjectTree:=@_List.HandleObjectTreeEvent;
 end;
 
 constructor TWasmDebugInspector.Create(aOwner: TComponent);