correctly handle bookmarks with underlying mode in receiver

This commit is contained in:
Jakob Ketterl 2023-02-28 17:07:13 +01:00
parent a54a5fd560
commit 258aebd0c3
3 changed files with 27 additions and 17 deletions

View file

@ -11,7 +11,7 @@ function BookmarkBar() {
if (!b || !b.frequency || !b.modulation) return;
me.getDemodulator().set_offset_frequency(b.frequency - center_freq);
if (b.modulation) {
me.getDemodulatorPanel().setMode(b.modulation);
me.getDemodulatorPanel().setMode(b.modulation, b.underlying);
}
$bookmark.addClass('selected');
});