diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-31 12:56:10 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-31 12:56:10 +0100 |
| commit | 6e08a8ed840f5308d3a42473ce7d8681c6fb0a21 (patch) | |
| tree | d8dce5e2d42b19a70e058b3533e3f8b9385692c4 /src | |
| parent | c7d09a3956c2b32f9590651c2088ab34334ac538 (diff) | |
| download | qtmaildir-rule-apply.tar.gz qtmaildir-rule-apply.zip | |
fix: keep a failed rule's error on screenrule-apply
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.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 3ee31aa..1fa1528 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -2969,6 +2969,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; |
