1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-04 16:01:14 -05:00

NFM demod: fixed squelch button tooltip

This commit is contained in:
f4exb 2017-05-15 02:22:24 +02:00
parent 76267d35b7
commit b53ebe4e96

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();
}