fix(NetworkFilter): display correct cursor

- since we override the `control.background` from `StatusComboBox`, need
to specify the `cursorShape` again
This commit is contained in:
Lukáš Tinkl 2024-04-09 15:03:12 +02:00 committed by Lukáš Tinkl
parent fb2d1ad0f0
commit 14138d5ff5
1 changed files with 5 additions and 1 deletions

View File

@ -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 {