1
0
mirror of https://github.com/saitohirga/WSJT-X.git synced 2025-03-23 20:48:33 -04:00

Correct some inconsistencies.

This commit is contained in:
Uwe Risse 2024-09-19 13:08:12 +02:00
parent 5053ddf063
commit 2b2d790da2

View File

@ -8441,11 +8441,11 @@ void MainWindow::on_rptSpinBox_valueChanged(int n)
void MainWindow::on_tuneButton_clicked (bool checked)
{
// prevent tuning on top of a SuperFox message
if (SpecOp::HOUND==m_specOp && m_config.superFox()) {
if (SpecOp::HOUND==m_specOp && m_config.superFox() && !m_tune) {
QDateTime now = QDateTime::currentDateTimeUtc();
int s = now.time().toString("ss").toInt();
if ((s >= 0 && s < 15) || (s >= 30 && s < 45)) {
if (checked) ui->tuneButton->click ();
ui->tuneButton->setChecked (false);
return;
}
}