Question
Remove / reload a docked interface via Python
I have a docked widget that I've added to the Painter UI through python, but I need to dynamically reload / replace the dialog.
The API doesn't appear to provide a method for removing the docked interface, is there a recommended method for doing so?
Iterating over the main window child widgets to find and remove the dock widget via
ui.add_dock_widget()seems to cause Painter to crash.
