aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-31 12:56:10 +0100
committerDanilo M. <danix@danix.xyz>2026-11-17 10:26:58 +0100
commit8ec4e2ddd60928c1eb7347997ee37f618c2aaf5f (patch)
tree590882409327543b3d8be230f7a56727ab62d46f /src
parenta91f60e7ee93ae431c747a1b984c334aef703dbe (diff)
downloadqtmaildir-8ec4e2ddd60928c1eb7347997ee37f618c2aaf5f.tar.gz
qtmaildir-8ec4e2ddd60928c1eb7347997ee37f618c2aaf5f.zip
fix: keep a failed rule's error on screenHEADrule-applymaster
A transient status armed before it would otherwise clear it when its timer fired. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 164cae9..0c506d6 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -2974,6 +2974,7 @@ void MainWindow::onRuleApplied(const QString &description,
++m_announceTicket;
// Not transient: a failed write is state the user has to read.
m_statusLabel->setText(tr("%1 failed: %2").arg(description, error));
+ m_statusTimer->stop(); // a pending transient must not clear it
} else if (!anyMoved) {
// Another writer got there between the count and the write.
++m_announceTicket;