Demod visual activation when entering/leaving view

This commit is contained in:
Charles J. Cliffe
2015-02-05 20:54:04 -05:00
parent b78b4e1b96
commit 4218fb73a0
3 changed files with 22 additions and 2 deletions
+3
View File
@@ -196,6 +196,9 @@ void SDRPostThread::threadMain() {
}
} else if (!demod->isActive()) {
demod->setActive(true);
if (wxGetApp().getDemodMgr().getLastActiveDemodulator() == NULL) {
wxGetApp().getDemodMgr().setActiveDemodulator(demod);
}
}
if (!demod->isActive()) {