4d49 / object-inspector

In-game properties inspector for Godot 4.3
MIT License
22 stars 5 forks source link

Update property list when property_list_changed signal emitted from object #6

Closed NullMember closed 5 months ago

NullMember commented 5 months ago

With this change if property_list_changed signal emitted from object (most probably caused by notify_property_list_changed function) property list updates itself. This is done by connecting object's property_list_changed signal to update_inspector function. Inspector also holds collapsed/expanded states of groups and subgroups. If update_inspector called without changing the object collapsed/expanded states of groups and subgroups restored.