From d6e0f8e1a16048f13bbd7c0a69fc96805c5cfb0d Mon Sep 17 00:00:00 2001 From: caixiangrong Date: Sat, 7 Dec 2024 15:56:38 +0800 Subject: [PATCH] fix: Do not display AlertToolTip when alertText is empty Do not display AlertToolTip when alertText is empty Log: pms: BUG-287159 --- qt6/src/qml/EditPanel.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt6/src/qml/EditPanel.qml b/qt6/src/qml/EditPanel.qml index 8d90f8b6..99ac9335 100644 --- a/qt6/src/qml/EditPanel.qml +++ b/qt6/src/qml/EditPanel.qml @@ -32,7 +32,7 @@ Rectangle { } Loader { - active: showAlert + active: showAlert && alertText.length !== 0 sourceComponent: AlertToolTip { target: control timeout: alertDuration