From 648c50566d61e52b66d434c535522f01ce27603a Mon Sep 17 00:00:00 2001 From: Mathieu Pellerin Date: Thu, 21 Nov 2024 14:57:12 +0700 Subject: [PATCH] Fix search bar results' group styling --- src/qml/LocatorItem.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/qml/LocatorItem.qml b/src/qml/LocatorItem.qml index 12efaf7d98..7be8ddcb3c 100644 --- a/src/qml/LocatorItem.qml +++ b/src/qml/LocatorItem.qml @@ -440,8 +440,8 @@ Item { Rectangle { id: delegateRect - property bool isGroup: ResultFilterGroupSorting === 0 - property bool isFilterName: ResultType === 0 + property bool isGroup: ResultType !== undefined && ResultType === 1 + property bool isFilterName: ResultType !== undefined && ResultType === 0 property int resultIndex: index anchors.margins: 10 @@ -502,8 +502,8 @@ Item { Row { id: actionsRow anchors.right: parent.right - anchors.top: parent.top - height: parent.height + anchors.verticalCenter: parent.verticalCenter + height: 32 anchors.rightMargin: 1 Repeater {