mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-27 02:09:14 -05:00
NFM demod GUI: fixed squelch gate vakue not displaying correctly
This commit is contained in:
parent
366ff0e1c3
commit
6b6b4d0b0d
@ -200,7 +200,6 @@ void NFMDemodGUI::on_volume_valueChanged(int value)
|
|||||||
|
|
||||||
void NFMDemodGUI::on_squelchGate_valueChanged(int value)
|
void NFMDemodGUI::on_squelchGate_valueChanged(int value)
|
||||||
{
|
{
|
||||||
ui->squelchGateText->setText(QString("%1").arg(value * 10.0, 0, 'f', 0));
|
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -330,6 +329,7 @@ void NFMDemodGUI::applySettings()
|
|||||||
|
|
||||||
ui->deltaFrequency->setValue(abs(m_channelMarker.getCenterFrequency()));
|
ui->deltaFrequency->setValue(abs(m_channelMarker.getCenterFrequency()));
|
||||||
ui->deltaMinus->setChecked(m_channelMarker.getCenterFrequency() < 0);
|
ui->deltaMinus->setChecked(m_channelMarker.getCenterFrequency() < 0);
|
||||||
|
ui->squelchGateText->setText(QString("%1").arg(ui->squelchGate->value() * 10.0, 0, 'f', 0));
|
||||||
|
|
||||||
m_nfmDemod->configure(m_nfmDemod->getInputMessageQueue(),
|
m_nfmDemod->configure(m_nfmDemod->getInputMessageQueue(),
|
||||||
m_rfBW[ui->rfBW->currentIndex()],
|
m_rfBW[ui->rfBW->currentIndex()],
|
||||||
|
Loading…
Reference in New Issue
Block a user