Problem with "context" while using pyside window

I created a window using pyside 6. everything seems to be working as I expected, except when I try to import or export with selected objects:
its giving me an error.
something like:
context doesn’t have attribute “selected_objects” .

I’m unable to address it.

Please share a code example to reproduce the issue.

1 Like