From 45c12ed2bba2a7c2d32d4169e6b378a1e1a5b367 Mon Sep 17 00:00:00 2001 From: jordi fita mas Date: Sun, 22 Dec 2024 04:20:04 +0100 Subject: [PATCH] =?UTF-8?q?Stop=20ErrorNotification=E2=80=99s=20time=20on?= =?UTF-8?q?=20close?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise, if there is another notification before the timer runs out, it will close the new notification sooner than expected. --- src/ErrorNotification.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ErrorNotification.qml b/src/ErrorNotification.qml index ced2020..36f0e69 100644 --- a/src/ErrorNotification.qml +++ b/src/ErrorNotification.qml @@ -67,6 +67,7 @@ Control { text: qsTr("Close") onClicked: function () { + hideTimer.stop(); control.visible = false; } }