Fix UI bug where changing the profile name didn't result in the UI being refreshed

This commit is contained in:
Dion Moult
2025-02-11 20:03:50 +11:00
parent ddf7d1b0b9
commit 53cf1ee0a1
@@ -45,8 +45,11 @@ def get_profile_classes(self, context):
def update_profile_name(self: "Profile", context: bpy.types.Context) -> None:
from bonsai.bim.handler import refresh_ui_data
profile = tool.Ifc.get().by_id(self.ifc_definition_id)
profile.ProfileName = self.name
refresh_ui_data()
class Profile(PropertyGroup):