From 5ca8e10c418b22bf932d2c7d913d2a168e447793 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Tue, 9 Mar 2021 11:43:28 -0500 Subject: [PATCH] Fix "Save Decoded". Seems it has been broken for a while, in all modes. --- widgets/mainwindow.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index a5ce43382..430c9c331 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -3293,7 +3293,6 @@ void MainWindow::to_jt9(qint32 n, qint32 istart, qint32 idone) void MainWindow::decodeDone () { - if(m_mode!="FT8" or dec_data.params.nzhsym==50) m_nDecodes=0; if(m_mode=="Q65") m_wideGraph->drawRed(0,0); if ("FST4W" == m_mode) { @@ -3314,7 +3313,10 @@ void MainWindow::decodeDone () } else { mswait = 1000.0 * ( 1.75 * m_TRperiod - tdone ); } - if(!m_diskData) killFileTimer.start(mswait); //Kill at 3/4 period + if(!m_diskData and !m_saveAll) { + if(m_saveDecoded and (m_nDecodes==0)) killFileTimer.start(mswait); //Kill at 3/4 period + } + if(m_mode!="FT8" or dec_data.params.nzhsym==50) m_nDecodes=0; dec_data.params.nagain=0; dec_data.params.ndiskdat=0;