Set raw demod type before bandwidth to prevent crash from previous bw setting

This commit is contained in:
Charles J. Cliffe 2015-07-17 22:27:38 -04:00
parent be1055a2c7
commit 9bd7ebf07a
1 changed files with 1 additions and 1 deletions

View File

@ -820,8 +820,8 @@ void WaterfallCanvas::OnMouseReleased(wxMouseEvent& event) {
demod = wxGetApp().getDemodMgr().newThread();
demod->setFrequency(freq);
demod->setBandwidth(mgr->getLastBandwidth());
demod->setDemodulatorType(mgr->getLastDemodulatorType());
demod->setBandwidth(mgr->getLastBandwidth());
demod->setSquelchLevel(mgr->getLastSquelchLevel());
demod->setSquelchEnabled(mgr->isLastSquelchEnabled());
demod->setStereo(mgr->isLastStereo());