summaryrefslogtreecommitdiff
path: root/widgets/mainwindow_show_messages.cpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-10-09 14:12:35 +0200
committerChristoph Berg <myon@debian.org>2026-10-09 14:12:35 +0200
commitffc62c792c9a5196cb4ce7a353287dfe20db6524 (patch)
tree1269efa852935b183daae4bb33a58d1b4d2ffb53 /widgets/mainwindow_show_messages.cpp
parent059831534c7e884f0a607ed86b582fd00d821731 (diff)
New upstream version 3.3.0~beta1+dfsgupstream/3.3.0_beta1+dfsg
Diffstat (limited to 'widgets/mainwindow_show_messages.cpp')
-rw-r--r--widgets/mainwindow_show_messages.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/widgets/mainwindow_show_messages.cpp b/widgets/mainwindow_show_messages.cpp
index 6e7236d7..d4023f1b 100644
--- a/widgets/mainwindow_show_messages.cpp
+++ b/widgets/mainwindow_show_messages.cpp
@@ -15,6 +15,11 @@ void MainWindow::showSoundInError(const QString& errorMsg)
void MainWindow::showSoundOutError(const QString& errorMsg)
{
noteTxStopReason (TxEvidence::TxStopReason::Error);
+ if (m_jttyTxLifecycle.active () || !m_jttyTransmitQueue.empty ()) {
+ stopTx ();
+ m_jttyQueueNotice = errorMsg;
+ updateJttySendButton ();
+ }
if (m_splash && m_splash->isVisible ()) m_splash->hide ();
MessageBox::critical_message (this, tr ("Error in Sound Output"), errorMsg);
}