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

Method onListSelect

src/forms/Dialog/PortSelectorDialog.cpp:31–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void PortSelectorDialog::onListSelect( wxCommandEvent& /* event */ ) {
32 int pSelect = m_portList->GetSelection();
33 if (pSelect != -1) {
34 m_portSelection->SetValue(m_portList->GetString(pSelect));
35 }
36}
37
38
39void PortSelectorDialog::onCancelButton( wxCommandEvent& /* event */ ) {

Callers

nothing calls this directly

Calls 1

SetValueMethod · 0.45

Tested by

no test coverage detected