mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 23:36:20 +00:00
Smal UI fix - display "Types" instead of "Typess"
This commit is contained in:
@@ -104,7 +104,7 @@ class LaunchTypeManager(bpy.types.Operator):
|
|||||||
props = tool.Model.get_model_props()
|
props = tool.Model.get_model_props()
|
||||||
row = self.layout.row(align=True)
|
row = self.layout.row(align=True)
|
||||||
text = f"{AuthoringData.data['total_types']} {AuthoringData.data['ifc_element_type'] or 'Types'}"
|
text = f"{AuthoringData.data['total_types']} {AuthoringData.data['ifc_element_type'] or 'Types'}"
|
||||||
if AuthoringData.data["total_types"] > 1:
|
if AuthoringData.data["ifc_element_type"] and AuthoringData.data["total_types"] > 1:
|
||||||
text += "s"
|
text += "s"
|
||||||
row.label(text=text, icon="FILE_VOLUME")
|
row.label(text=text, icon="FILE_VOLUME")
|
||||||
row.menu("BIM_MT_type_manager_menu", text="", icon="PREFERENCES")
|
row.menu("BIM_MT_type_manager_menu", text="", icon="PREFERENCES")
|
||||||
|
|||||||
Reference in New Issue
Block a user