mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 22:11:36 +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.scale_y = 0.8
|
||||||
row.label(text=prop["Name"])
|
row.label(text=prop["Name"])
|
||||||
op = row.operator("bim.select_similar", text=nominal_value, icon="NONE", emboss=False)
|
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:
|
if not has_props_displayed:
|
||||||
row = box.row()
|
row = box.row()
|
||||||
|
|||||||
Reference in New Issue
Block a user