mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 22:02:15 +01:00
check if djv_path is set before selection validation
This commit is contained in:
parent
a05c146f43
commit
d72e6ccd89
1 changed files with 2 additions and 1 deletions
|
|
@ -66,7 +66,8 @@ class DJVViewAction(BaseHandler):
|
|||
|
||||
def discover(self, event):
|
||||
"""Return available actions based on *event*. """
|
||||
|
||||
if self.djv_path is None:
|
||||
return
|
||||
if not self.is_valid_selection(event):
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue