diff --git a/src/bonsai/bonsai/bim/helper.py b/src/bonsai/bonsai/bim/helper.py index d5ec4867d1..510966e5ef 100644 --- a/src/bonsai/bonsai/bim/helper.py +++ b/src/bonsai/bonsai/bim/helper.py @@ -110,8 +110,7 @@ def draw_attribute( if attribute.name == "GlobalId": layout.operator("bim.generate_global_id", icon="FILE_REFRESH", text="") - - if copy_operator: + elif copy_operator: op = layout.operator(f"{copy_operator}", text="", icon="COPYDOWN") op.name = attribute.name