Fix #6186. Don't hide filter UI if there are no results.

This commit is contained in:
Dion Moult
2025-02-19 17:52:34 +11:00
parent ee0599e263
commit deb0a46acb
+2 -3
View File
@@ -117,9 +117,8 @@ class LaunchTypeManager(bpy.types.Operator):
op.ifc_product = "IfcElementType"
op.ifc_class = AuthoringData.data["ifc_element_type"] or props.ifc_class or ""
if AuthoringData.data["total_types"]:
row = self.layout.row(align=True)
row.prop(props, "search_name", icon="FILTER", text="")
row = self.layout.row(align=True)
row.prop(props, "search_name", icon="FILTER", text="")
columns = self.layout.column_flow(columns=3)
if AuthoringData.data["total_pages"] > 0: