mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-12-23 19:25:37 -05:00
Make sure tune power tool tip only shows when adjusting the tune power using the UI
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6761 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
f962faaeea
commit
829dc3ec57
@ -945,7 +945,9 @@ void MainWindow::readSettings()
|
||||
if(!m_uploadSpots) ui->cbUploadWSPR_Spots->setStyleSheet("QCheckBox{background-color: yellow}");
|
||||
ui->band_hopping_group_box->setChecked (m_settings->value ("BandHopping", false).toBool());
|
||||
// setup initial value of tx attenuator
|
||||
m_block_pwr_tooltip = true;
|
||||
ui->outAttenuation->setValue (m_settings->value ("OutAttenuation", 0).toInt ());
|
||||
m_block_pwr_tooltip = false;
|
||||
m_tune_attenuation = m_settings->value ("TuneAttenuation", 0).toInt ();
|
||||
m_freqCQ=m_settings->value("CQRxFreq",285).toInt();
|
||||
m_noSuffix=m_settings->value("NoSuffix",false).toBool();
|
||||
@ -4428,12 +4430,12 @@ void MainWindow::stop_tuning ()
|
||||
ui->tuneButton->setChecked (false);
|
||||
m_bTxTime=false;
|
||||
m_tune=false;
|
||||
m_block_pwr_tooltip = true;
|
||||
if (m_tune_attenuation)
|
||||
{
|
||||
m_block_pwr_tooltip = true;
|
||||
ui->outAttenuation->setValue(m_tune_attenuation_restore);
|
||||
m_block_pwr_tooltip = false;
|
||||
}
|
||||
m_block_pwr_tooltip = false;
|
||||
}
|
||||
|
||||
void MainWindow::stopTuneATU()
|
||||
|
Loading…
Reference in New Issue
Block a user