1
0
mirror of https://github.com/saitohirga/WSJT-X.git synced 2025-03-25 05:29:16 -04:00

Ensure that tune specific Tx gain setting is not restored after it is cleared

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6733 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2016-06-05 19:24:56 +00:00
parent ee40202a1c
commit a6be978915

View File

@ -4302,7 +4302,10 @@ void MainWindow::stop_tuning ()
m_bTxTime=false;
m_tune=false;
m_block_pwr_tooltip = true;
ui->outAttenuation->setValue(m_tune_attenuation_restore);
if (m_tune_attenuation)
{
ui->outAttenuation->setValue(m_tune_attenuation_restore);
}
m_block_pwr_tooltip = false;
}