From 7210d1d41dda09a39d7d7bc55ed3f5b88fd28132 Mon Sep 17 00:00:00 2001 From: Steven Franke Date: Sun, 21 Jun 2015 23:08:47 +0000 Subject: [PATCH] Added logic so that saving of c2 files will turn on/off with None/Save All. This did not fix Save Decoded, which has no effect in WSPR mode. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5626 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 54ec50982..bd8999a24 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -871,7 +871,7 @@ void MainWindow::dataSink(qint64 frames) *future2 = QtConcurrent::run(savewav, m_fname, m_TRperiod); watcher2->setFuture(*future2); - if(m_mode.mid(0,4)=="WSPR") { + if( m_mode.mid(0,4)=="WSPR" && (m_saveAll || (m_saveDecoded && m_bdecoded)) ) { m_c2name=m_config.save_directory ().absoluteFilePath (t.date().toString("yyMMdd") + "_" + t2 + ".c2"); int len1=m_c2name.length();