Pass sensible default min sync to decoders if spin box is not visible

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6673 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2016-05-05 18:52:47 +00:00
parent 8bced492e6
commit 2c7ae5f9de

View File

@ -1837,7 +1837,7 @@ void MainWindow::decode() //decode()
dec_data.params.dttol=m_DTtol;
dec_data.params.emedelay=0.0;
if(m_bEME) dec_data.params.emedelay=2.5;
dec_data.params.minSync=m_minSync;
dec_data.params.minSync=ui->syncSpinBox->isVisible () ? m_minSync : 0;
dec_data.params.nexp_decode=0;
if(m_config.MyDx()) dec_data.params.nexp_decode += 1;
if(m_config.CQMyN()) dec_data.params.nexp_decode += 2;