From b5d4440a8f0c90c9ba971598b5f0841f4dc1b8b3 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 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 201adfe22..67f0dcecc 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -3292,8 +3292,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=="QRA64") m_wideGraph->drawRed(0,0); if ("FST4W" == m_mode) { if (m_uploadWSPRSpots @@ -3313,7 +3311,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;