mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-16 13:46:54 +00:00
Fix #6186. Don't hide filter UI if there are no results.
This commit is contained in:
@@ -117,9 +117,8 @@ class LaunchTypeManager(bpy.types.Operator):
|
|||||||
op.ifc_product = "IfcElementType"
|
op.ifc_product = "IfcElementType"
|
||||||
op.ifc_class = AuthoringData.data["ifc_element_type"] or props.ifc_class or ""
|
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 = self.layout.row(align=True)
|
row.prop(props, "search_name", icon="FILTER", text="")
|
||||||
row.prop(props, "search_name", icon="FILTER", text="")
|
|
||||||
|
|
||||||
columns = self.layout.column_flow(columns=3)
|
columns = self.layout.column_flow(columns=3)
|
||||||
if AuthoringData.data["total_pages"] > 0:
|
if AuthoringData.data["total_pages"] > 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user