mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-08-03 14:42:25 -04:00
Don't reset to band/mode default frequency unless really needed when in FT8 mode. Very useful for (Super) Fox or Hound operation.
This commit is contained in:
parent
2458468411
commit
4f9d0da8c6
@ -2082,6 +2082,7 @@ void MainWindow::showStatusMessage(const QString& statusMsg)
|
|||||||
|
|
||||||
void MainWindow::on_actionSettings_triggered() //Setup Dialog
|
void MainWindow::on_actionSettings_triggered() //Setup Dialog
|
||||||
{
|
{
|
||||||
|
if (m_mode=="FT8") keep_frequency = true;
|
||||||
// things that might change that we need know about
|
// things that might change that we need know about
|
||||||
auto callsign = m_config.my_callsign ();
|
auto callsign = m_config.my_callsign ();
|
||||||
auto my_grid = m_config.my_grid ();
|
auto my_grid = m_config.my_grid ();
|
||||||
@ -2122,7 +2123,7 @@ void MainWindow::on_actionSettings_triggered() //Setup Dialog
|
|||||||
, m_tx_audio_buffer_frames);
|
, m_tx_audio_buffer_frames);
|
||||||
}
|
}
|
||||||
|
|
||||||
displayDialFrequency ();
|
if (!keep_frequency or ui->bandComboBox->currentText()=="oob") displayDialFrequency ();
|
||||||
bool vhf {m_config.enable_VHF_features()};
|
bool vhf {m_config.enable_VHF_features()};
|
||||||
m_wideGraph->setVHF(vhf);
|
m_wideGraph->setVHF(vhf);
|
||||||
if (!vhf) ui->sbSubmode->setValue (0);
|
if (!vhf) ui->sbSubmode->setValue (0);
|
||||||
@ -2172,8 +2173,10 @@ void MainWindow::on_actionSettings_triggered() //Setup Dialog
|
|||||||
ui->labDXped->setStyleSheet("QLabel {background-color: red; color: white;}");
|
ui->labDXped->setStyleSheet("QLabel {background-color: red; color: white;}");
|
||||||
set_mode(m_mode);
|
set_mode(m_mode);
|
||||||
configActiveStations();
|
configActiveStations();
|
||||||
|
keep_frequency = false;
|
||||||
|
} else {
|
||||||
|
keep_frequency = false;
|
||||||
}
|
}
|
||||||
if(m_mode=="FT8") on_actionFT8_triggered(); //in case we need to reset some things for Fox/Hound
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_monitorButton_clicked (bool checked)
|
void MainWindow::on_monitorButton_clicked (bool checked)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user