NFM demod: fixed squelch button tooltip

This commit is contained in:
f4exb 2017-05-15 02:22:24 +02:00
parent 76267d35b7
commit b53ebe4e96
1 changed files with 2 additions and 0 deletions

View File

@ -218,11 +218,13 @@ void NFMDemodGUI::on_deltaSquelch_toggled(bool checked)
{
ui->squelchText->setText(QString("%1").arg((-ui->squelch->value()) / 10.0, 0, 'f', 1));
ui->squelchText->setToolTip(tr("Squelch AF balance threshold (%)"));
ui->squelch->setToolTip(tr("Squelch AF balance threshold (%)"));
}
else
{
ui->squelchText->setText(QString("%1").arg(ui->squelch->value() / 10.0, 0, 'f', 1));
ui->squelchText->setToolTip(tr("Squelch power threshold (dB)"));
ui->squelch->setToolTip(tr("Squelch AF balance threshold (%)"));
}
applySettings();
}