fix audio mode change crash (#3111)

This commit is contained in:
Totoo
2026-03-26 22:40:27 +01:00
committed by GitHub
parent 5c719645d6
commit 70b42f4a56
3 changed files with 10 additions and 2 deletions
@@ -419,10 +419,10 @@ void AnalogAudioView::on_baseband_bandwidth_changed(uint32_t bandwidth_hz) {
}
void AnalogAudioView::on_modulation_changed(ReceiverModel::Mode modulation) {
baseband::spectrum_streaming_stop();
waterfall.stop();
update_modulation(modulation);
on_show_options_modulation();
baseband::spectrum_streaming_start();
waterfall.start();
}
void AnalogAudioView::remove_options_widget() {