Fix UI errors selecting empty ifcpatch ("-")

This commit is contained in:
Andrej730
2024-11-11 11:43:06 +05:00
parent 37d9cade92
commit 478dcb8d78
@@ -111,7 +111,7 @@ class UpdateIfcPatchArguments(bpy.types.Operator):
recipe: bpy.props.StringProperty()
def execute(self, context):
if self.recipe == "":
if self.recipe == "-":
print("No Recipe Selected. Impossible to load arguments")
return {"FINISHED"}
patch_args = context.scene.BIMPatchProperties.ifc_patch_args_attr