mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-29 13:51:12 -07:00
Stop the Item's hover timer when showing a different tooltip
This commit is contained in:
parent
d5aa75f2cf
commit
803dcdcec7
1 changed files with 2 additions and 2 deletions
|
|
@ -136,7 +136,7 @@ Item {
|
||||||
propertyProvider.removeFromContainer(0)
|
propertyProvider.removeFromContainer(0)
|
||||||
}
|
}
|
||||||
|
|
||||||
onEntered: base.showTooltip(catalog.i18nc("@label", "This setting has a value that is different from the profile.\n\nClick to restore the value of the profile."))
|
onEntered: { hoverTimer.stop(); base.showTooltip(catalog.i18nc("@label", "This setting has a value that is different from the profile.\n\nClick to restore the value of the profile.")) }
|
||||||
onExited: base.showTooltip(definition.description);
|
onExited: base.showTooltip(definition.description);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -163,7 +163,7 @@ Item {
|
||||||
|
|
||||||
iconSource: UM.Theme.getIcon("notice");
|
iconSource: UM.Theme.getIcon("notice");
|
||||||
|
|
||||||
onEntered: base.showTooltip(catalog.i18nc("@label", "This setting is normally calculated, but it currently has an absolute value set.\n\nClick to restore the calculated value."))
|
onEntered: { hoverTimer.stop(); base.showTooltip(catalog.i18nc("@label", "This setting is normally calculated, but it currently has an absolute value set.\n\nClick to restore the calculated value.")) }
|
||||||
onExited: base.showTooltip(definition.description);
|
onExited: base.showTooltip(definition.description);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue