mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Fix bug where select similar property didn't work
This commit is contained in:
@@ -172,7 +172,7 @@ def draw_psetqto_ui(
|
||||
row.scale_y = 0.8
|
||||
row.label(text=prop["Name"])
|
||||
op = row.operator("bim.select_similar", text=nominal_value, icon="NONE", emboss=False)
|
||||
op.key = pset["Name"]
|
||||
op.key = '"' + pset["Name"].replace('"', '\\"') + '"."' + prop["Name"].replace('"', '\\"') + '"'
|
||||
|
||||
if not has_props_displayed:
|
||||
row = box.row()
|
||||
|
||||
Reference in New Issue
Block a user