Declare hoverEnabled: true explicitly in CustomButton
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Sat, 27 May 2023 16:00:58 +0000 (00:00 +0800)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Tue, 30 May 2023 08:40:52 +0000 (08:40 +0000)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/gui/tray/CustomButton.qml

index 39d0552c0d9061c5e54082ee3cb2e1b4448c72d5..f57c065c935b1cc1e4616471b54a7d3bbe04e85b 100644 (file)
@@ -45,6 +45,8 @@ Button {
     rightPadding: root.text === "" ? Style.smallSpacing : Style.standardSpacing
     implicitWidth: contentItem.implicitWidth + leftPadding + rightPadding
 
+    hoverEnabled: true
+
     NCToolTip {
         text: root.toolTipText
         visible: root.toolTipText !== "" && root.hovered