mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-02-03 09:44:24 -05:00
Keep the frequency when in Hound mode and click the "H" button again.
This commit is contained in:
parent
94334f2b6c
commit
44d947ff95
@ -210,6 +210,7 @@ using SpecOp = Configuration::SpecialOperatingActivity;
|
||||
|
||||
bool m_displayBand = false;
|
||||
bool no_a7_decodes = false;
|
||||
bool keep_frequency = false;
|
||||
|
||||
namespace
|
||||
{
|
||||
@ -6758,7 +6759,7 @@ void MainWindow::on_actionFT8_triggered()
|
||||
ui->txb5->setEnabled(false);
|
||||
ui->txb6->setEnabled(false);
|
||||
} else {
|
||||
switch_mode (Modes::FT8);
|
||||
if (!(keep_frequency)) switch_mode (Modes::FT8);
|
||||
}
|
||||
|
||||
if(m_specOp != SpecOp::HOUND) {
|
||||
@ -10006,6 +10007,8 @@ void MainWindow::on_houndButton_clicked (bool checked)
|
||||
} else {
|
||||
ui->houndButton->setStyleSheet("");
|
||||
m_config.setSpecial_None();
|
||||
keep_frequency = true;
|
||||
QTimer::singleShot (250, [=] {keep_frequency = false;});
|
||||
}
|
||||
m_specOp=m_config.special_op_id();
|
||||
on_actionFT8_triggered();
|
||||
|
Loading…
Reference in New Issue
Block a user