add some missing init vars causing problems with new demod 0/false value checks

This commit is contained in:
Charles J. Cliffe
2015-07-18 17:03:29 -04:00
parent 9bd7ebf07a
commit 8827ff9e26
3 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -907,9 +907,8 @@ void WaterfallCanvas::OnMouseReleased(wxMouseEvent& event) {
} else {
demod = wxGetApp().getDemodMgr().newThread();
demod->setFrequency(freq);
demod->setBandwidth(bw);
demod->setDemodulatorType(mgr->getLastDemodulatorType());
demod->setBandwidth(bw);
demod->setSquelchLevel(mgr->getLastSquelchLevel());
demod->setSquelchEnabled(mgr->isLastSquelchEnabled());
demod->setStereo(mgr->isLastStereo());