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.
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.