| 1220 | |
| 1221 | |
| 1222 | void BookmarkView::onDoubleClickBandwidth( wxMouseEvent& /* event */ ) { |
| 1223 | |
| 1224 | TreeViewItem *curSel = itemToTVI(m_treeView->GetSelection()); |
| 1225 | |
| 1226 | if (curSel && curSel->type == TreeViewItem::Type::TREEVIEW_ITEM_TYPE_ACTIVE) { |
| 1227 | wxGetApp().getDemodMgr().setActiveDemodulator(nullptr, true); |
| 1228 | wxGetApp().getDemodMgr().setActiveDemodulator(curSel->demod, false); |
| 1229 | wxGetApp().showFrequencyInput(FrequencyDialog::FrequencyDialogTarget::FDIALOG_TARGET_BANDWIDTH); |
| 1230 | } |
| 1231 | } |
| 1232 | |
| 1233 | |
| 1234 | void BookmarkView::onRemoveActive( wxCommandEvent& /* event */ ) { |
nothing calls this directly
no test coverage detected