mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-06-25 14:45:14 -04: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 m_displayBand = false;
|
||||||
bool no_a7_decodes = false;
|
bool no_a7_decodes = false;
|
||||||
|
bool keep_frequency = false;
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
@ -6758,7 +6759,7 @@ void MainWindow::on_actionFT8_triggered()
|
|||||||
ui->txb5->setEnabled(false);
|
ui->txb5->setEnabled(false);
|
||||||
ui->txb6->setEnabled(false);
|
ui->txb6->setEnabled(false);
|
||||||
} else {
|
} else {
|
||||||
switch_mode (Modes::FT8);
|
if (!(keep_frequency)) switch_mode (Modes::FT8);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(m_specOp != SpecOp::HOUND) {
|
if(m_specOp != SpecOp::HOUND) {
|
||||||
@ -10006,6 +10007,8 @@ void MainWindow::on_houndButton_clicked (bool checked)
|
|||||||
} else {
|
} else {
|
||||||
ui->houndButton->setStyleSheet("");
|
ui->houndButton->setStyleSheet("");
|
||||||
m_config.setSpecial_None();
|
m_config.setSpecial_None();
|
||||||
|
keep_frequency = true;
|
||||||
|
QTimer::singleShot (250, [=] {keep_frequency = false;});
|
||||||
}
|
}
|
||||||
m_specOp=m_config.special_op_id();
|
m_specOp=m_config.special_op_id();
|
||||||
on_actionFT8_triggered();
|
on_actionFT8_triggered();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user