UI: Fix checking for sequences.
This commit is contained in:
@@ -36,7 +36,7 @@ def act_strip(context):
|
|||||||
|
|
||||||
def sel_sequences(context):
|
def sel_sequences(context):
|
||||||
try:
|
try:
|
||||||
return context.selected_sequences
|
return len(context.selected_sequences) if context.selected_sequences else 0
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user