Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2019-11-11 12:47:53 +0300
committerJaime van Kessel <nallath@gmail.com>2019-11-11 12:47:53 +0300
commitd93f6f25d20b231fe6c75e3b8d40d158d5c35ff5 (patch)
tree5d90b76860bb506b5c87b6a3d7bd38dcd4d7d6c3
parent00f505374b652e7692ccbdffd01ba9b704b612c0 (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.qml6
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.