mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-10 07:09:02 +08:00
Fix showing tooltips for actionbuttons that have a tooltip text set
This commit is contained in:
parent
0f662da2c3
commit
ddbd843d91
@ -133,7 +133,18 @@ Button
|
||||
Cura.ToolTip
|
||||
{
|
||||
id: tooltip
|
||||
visible: button.hovered && buttonTextMetrics.elidedText != buttonText.text
|
||||
visible:
|
||||
{
|
||||
if (!button.hovered)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (tooltipText == button.text)
|
||||
{
|
||||
return buttonTextMetrics.elidedText != buttonText.text;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
BusyIndicator
|
||||
|
Loading…
x
Reference in New Issue
Block a user