Fix case where re-activation shows old mode dialog

This commit is contained in:
Charles J. Cliffe 2015-11-29 15:16:44 -05:00
parent c303b68284
commit 380a5e4c2e

View File

@ -184,7 +184,7 @@ void DemodulatorInstance::setActive(bool state) {
audioThread->setActive(state); audioThread->setActive(state);
} else if (!active && state) { } else if (!active && state) {
#if ENABLE_DIGITAL_LAB #if ENABLE_DIGITAL_LAB
if (activeOutput) { if (activeOutput && getModemType() == "digital") {
activeOutput->Show(); activeOutput->Show();
} }
#endif #endif