Inspector: object details tab not updated on widget choosen change
When the current view is object details, and if the selected widget is changed, the object details is not updated in Inspector window.
How to reproduce:
- Open
gtk4-widget-factory
-> Menu -> Inspector - Click 'Select an Object' and select some widget (Say, toggle button)
- Now click on 'Show details' button
- Now, again with 'Select an Object' button select some other widget
Result: The widget details shown is for the widget previously selected, it's not updated to show the details of newly selected widget