Fix bug where select similar property didn't work

This commit is contained in:
Dion Moult
2024-08-23 15:29:19 +10:00
parent 2b0572af10
commit d3d1ca0169
+1 -1
View File
@@ -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()