From 4d770e6a7fa9c07c4106e4a03f544b1d1acd97b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Thu, 17 Aug 2023 10:50:10 +0200 Subject: [PATCH] fix: don't display bogus empty tooltip with no text --- ui/imports/shared/controls/DisabledTooltipButton.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/imports/shared/controls/DisabledTooltipButton.qml b/ui/imports/shared/controls/DisabledTooltipButton.qml index 2c5ac065c3..f9654e8bc8 100644 --- a/ui/imports/shared/controls/DisabledTooltipButton.qml +++ b/ui/imports/shared/controls/DisabledTooltipButton.qml @@ -35,7 +35,7 @@ Item { } StatusToolTip { id: tooltip - visible: hoverHandler.hovered + visible: hoverHandler.hovered && !!text } Component{