mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-02-03 09:44:01 -05:00
SSB mod/demod: make sure channel marker bandwidth and low cutoff are displayed correctly
This commit is contained in:
parent
23b9450c56
commit
e6b2d12236
@ -376,6 +376,7 @@ void SSBDemodGUI::applyBandwidths(bool force)
|
||||
bool wasBlocked = blockApplySettings(true);
|
||||
m_channelMarker.setBandwidth(bw * 200);
|
||||
m_channelMarker.setSidebands(dsb ? ChannelMarker::dsb : bw < 0 ? ChannelMarker::lsb : ChannelMarker::usb);
|
||||
if (!dsb) { m_channelMarker.setLowCutoff(lw * 100); }
|
||||
blockApplySettings(wasBlocked);
|
||||
}
|
||||
|
||||
|
@ -533,7 +533,9 @@ void SSBModGUI::applyBandwidths(bool force)
|
||||
applySettings(force);
|
||||
|
||||
bool applySettingsWereBlocked = blockApplySettings(true);
|
||||
m_channelMarker.setBandwidth(bw * 200);
|
||||
m_channelMarker.setSidebands(dsb ? ChannelMarker::dsb : bw < 0 ? ChannelMarker::lsb : ChannelMarker::usb);
|
||||
if (!dsb) { m_channelMarker.setLowCutoff(lw * 100); }
|
||||
blockApplySettings(applySettingsWereBlocked);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user