Skip to content

Commit

Permalink
Declare hoverEnabled: true explicitly in CustomButton
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra authored and backportbot-nextcloud[bot] committed May 30, 2023
1 parent 9a02dd5 commit 15c9cbf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/tray/CustomButton.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 15c9cbf

Please sign in to comment.