Simplify SDRPostThread: no longer binding methods, directly use the true list of demodulators

This commit is contained in:
vsonnier
2017-08-27 12:39:28 +02:00
parent a8f8f4a7e2
commit 37712c7a81
9 changed files with 44 additions and 82 deletions
+2 -2
View File
@@ -729,7 +729,7 @@ void WaterfallCanvas::OnMouseReleased(wxMouseEvent& event) {
demod->writeModemSettings(mgr->getLastModemSettings(mgr->getLastDemodulatorType()));
demod->run();
wxGetApp().bindDemodulator(demod);
wxGetApp().notifyDemodulatorsChanged();
DemodulatorThread::releaseSquelchLock(nullptr);
}
@@ -829,7 +829,7 @@ void WaterfallCanvas::OnMouseReleased(wxMouseEvent& event) {
demod->run();
wxGetApp().bindDemodulator(demod);
wxGetApp().notifyDemodulatorsChanged();
}
if (demod == NULL) {