Work around Qt hover bug for tooltips

This commit is contained in:
miruka
2019-12-06 08:20:30 -04:00
parent d70260d007
commit d354480840
2 changed files with 5 additions and 3 deletions

View File

@@ -11,9 +11,9 @@ ToolTip {
property alias label: label
property alias backgroundColor: background.color
readonly property bool hideNow: visible && ! window.hovered
readonly property bool hideNow: ! window.hovered
onHideNowChanged: if (hideNow) toolTip.hide()
onHideNowChanged: if (visible && hideNow) toolTip.hide()
background: Rectangle {