MCPcopy Create free account
hub / github.com/cjcliffe/CubicSDR / onDoubleClickBandwidth

Method onDoubleClickBandwidth

src/forms/Bookmark/BookmarkView.cpp:1222–1231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1220
1221
1222void 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
1234void BookmarkView::onRemoveActive( wxCommandEvent& /* event */ ) {

Callers

nothing calls this directly

Calls 2

setActiveDemodulatorMethod · 0.80
showFrequencyInputMethod · 0.80

Tested by

no test coverage detected