mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-30 16:43:00 +00:00
typing
This commit is contained in:
@@ -171,7 +171,7 @@ class BIM_OT_multiple_file_selector(bpy.types.Operator):
|
||||
filepath: bpy.props.StringProperty(subtype="FILE_PATH")
|
||||
|
||||
@classmethod
|
||||
def poll(self, context):
|
||||
def poll(cls, context):
|
||||
return getattr(context, "file_props", None) is not None
|
||||
|
||||
def execute(self, context):
|
||||
|
||||
@@ -434,6 +434,7 @@ class BIM_PT_tabs(Panel):
|
||||
"QUALITY",
|
||||
"SWITCH",
|
||||
]:
|
||||
# Draw a little underscore below the active tab icon.
|
||||
if aprops.tab == tab:
|
||||
row.prop(aprops, "active_tab", text="", icon="BLANK1")
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user