mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-29 05:22:25 -04: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);
|
bool wasBlocked = blockApplySettings(true);
|
||||||
m_channelMarker.setBandwidth(bw * 200);
|
m_channelMarker.setBandwidth(bw * 200);
|
||||||
m_channelMarker.setSidebands(dsb ? ChannelMarker::dsb : bw < 0 ? ChannelMarker::lsb : ChannelMarker::usb);
|
m_channelMarker.setSidebands(dsb ? ChannelMarker::dsb : bw < 0 ? ChannelMarker::lsb : ChannelMarker::usb);
|
||||||
|
if (!dsb) { m_channelMarker.setLowCutoff(lw * 100); }
|
||||||
blockApplySettings(wasBlocked);
|
blockApplySettings(wasBlocked);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -533,7 +533,9 @@ void SSBModGUI::applyBandwidths(bool force)
|
|||||||
applySettings(force);
|
applySettings(force);
|
||||||
|
|
||||||
bool applySettingsWereBlocked = blockApplySettings(true);
|
bool applySettingsWereBlocked = blockApplySettings(true);
|
||||||
|
m_channelMarker.setBandwidth(bw * 200);
|
||||||
m_channelMarker.setSidebands(dsb ? ChannelMarker::dsb : bw < 0 ? ChannelMarker::lsb : ChannelMarker::usb);
|
m_channelMarker.setSidebands(dsb ? ChannelMarker::dsb : bw < 0 ? ChannelMarker::lsb : ChannelMarker::usb);
|
||||||
|
if (!dsb) { m_channelMarker.setLowCutoff(lw * 100); }
|
||||||
blockApplySettings(applySettingsWereBlocked);
|
blockApplySettings(applySettingsWereBlocked);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user