SSB Modulator: interim state (9) Fixed uninitialized low cutoff marker on preset load

This commit is contained in:
f4exb 2016-12-14 02:17:39 +01:00
parent 3f20b31cc0
commit 5959364c3d
1 changed files with 4 additions and 1 deletions

View File

@ -162,7 +162,8 @@ bool SSBModGUI::deserialize(const QByteArray& data)
blockApplySettings(false);
m_channelMarker.blockSignals(false);
applySettings();
applySettings();
return true;
}
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));
m_channelMarker.setBandwidth(value * 200);
int lowCutoff = getEffectiveLowCutoff(ui->lowCut->value() * 100);
m_channelMarker.setLowCutoff(lowCutoff);
applySettings();
}