mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-10-01 01:06:35 -04:00
SSB Modulator: interim state (9) Fixed uninitialized low cutoff marker on preset load
This commit is contained in:
parent
3f20b31cc0
commit
5959364c3d
@ -162,7 +162,8 @@ bool SSBModGUI::deserialize(const QByteArray& data)
|
|||||||
blockApplySettings(false);
|
blockApplySettings(false);
|
||||||
m_channelMarker.blockSignals(false);
|
m_channelMarker.blockSignals(false);
|
||||||
|
|
||||||
applySettings();
|
applySettings();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -276,6 +277,8 @@ void SSBModGUI::on_BW_valueChanged(int value)
|
|||||||
{
|
{
|
||||||
ui->BWText->setText(QString("%1 kHz").arg(value / 10.0, 0, 'f', 1));
|
ui->BWText->setText(QString("%1 kHz").arg(value / 10.0, 0, 'f', 1));
|
||||||
m_channelMarker.setBandwidth(value * 200);
|
m_channelMarker.setBandwidth(value * 200);
|
||||||
|
int lowCutoff = getEffectiveLowCutoff(ui->lowCut->value() * 100);
|
||||||
|
m_channelMarker.setLowCutoff(lowCutoff);
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user