diff options
author | Jaime van Kessel <nallath@gmail.com> | 2019-11-11 12:47:53 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2019-11-11 12:47:53 +0300 |
commit | d93f6f25d20b231fe6c75e3b8d40d158d5c35ff5 (patch) | |
tree | 5d90b76860bb506b5c87b6a3d7bd38dcd4d7d6c3 | |
parent | 00f505374b652e7692ccbdffd01ba9b704b612c0 (diff) |
Prevent "sticky" tooltips
When quickly moving the mouse in and out, the timer would
still be running, so the tooltip would become active once the mouse
moved out of the area.
-rw-r--r-- | resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml b/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml index 7c527f9448..337aff573f 100644 --- a/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml +++ b/resources/qml/PrintSetupSelector/Recommended/RecommendedQualityProfileSelector.qml @@ -174,7 +174,11 @@ Item } onEntered: intentTooltipTimer.start() - onExited: base.hideTooltip() + onExited: + { + base.hideTooltip() + intentTooltipTimer.stop() + } } NoIntentIcon // This icon has hover priority over intentDescriptionHoverArea, so draw it above it. |