update dropdown, too

This commit is contained in:
Jakob Ketterl 2019-10-12 17:26:57 +02:00
parent 98217b1745
commit ec4fd401cb

View File

@ -2745,6 +2745,7 @@ function demodulator_buttons_update()
$(".openwebrx-demodulator-button").removeClass("highlighted"); $(".openwebrx-demodulator-button").removeClass("highlighted");
if(secondary_demod) { if(secondary_demod) {
$("#openwebrx-button-dig").addClass("highlighted"); $("#openwebrx-button-dig").addClass("highlighted");
$('#openwebrx-secondary-demod-listbox').val(secondary_demod);
} else switch(demodulators[0].subtype) { } else switch(demodulators[0].subtype) {
case "lsb": case "lsb":
case "usb": case "usb":