From 14138d5ff51ee75d5b0f879ec829fecc18e776e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Tue, 9 Apr 2024 15:03:12 +0200 Subject: [PATCH] fix(NetworkFilter): display correct cursor - since we override the `control.background` from `StatusComboBox`, need to specify the `cursorShape` again --- ui/app/AppLayouts/Wallet/controls/NetworkFilter.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/app/AppLayouts/Wallet/controls/NetworkFilter.qml b/ui/app/AppLayouts/Wallet/controls/NetworkFilter.qml index 626c634965..ac5f04965f 100644 --- a/ui/app/AppLayouts/Wallet/controls/NetworkFilter.qml +++ b/ui/app/AppLayouts/Wallet/controls/NetworkFilter.qml @@ -1,5 +1,6 @@ import QtQuick 2.15 -import QtQuick.Layouts 1.13 +import QtQuick.Controls 2.15 +import QtQuick.Layouts 1.15 import StatusQ 0.1 import StatusQ.Core 0.1 @@ -72,6 +73,9 @@ StatusComboBox { radius: 8 color: root.control.hovered ? Theme.palette.baseColor2 : "transparent" border.color: Theme.palette.directColor7 + HoverHandler { + cursorShape: root.enabled ? Qt.PointingHandCursor : undefined + } } contentItem: RowLayout {