Skip to content
Snippets Groups Projects
Commit e5772659 authored by Julian Eisel's avatar Julian Eisel
Browse files

Fix missing context attribute access in asset shelf polls

When creating a new main window, the `context.object` attribute wouldn't
exist, causing an error message to be printed.

Rather than checking if the attribute extists, query the mode from
context directly (this is always available), rather than querying it
through the active object.
parent 32209127
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment