Referencing members of DockWidgetPluginGuiInfo causes errors

Attempting to reference members of DockWidgetPluginGuiInfo, such as InitialEnabled, results in an error. This issue applies to all members of DockWidgetPluginGuiInfo.

The only way to circumvent this right now is to tostring() the DockWidgetPluginGuiInfo and parse the members from the returned string itself.

Expected behavior

I should be able to index members of this atomic class. It’s valuable to let me initialize the state of my plugin based on the state of the DockWidgetPluginGuiInfo that it was created with; maintaining parity with initialization state.


Thanks for the report! Found someone to take a look. We’ll get back with an update as soon as we can.

1 Like