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

Method OnOkButton

src/forms/SDRDevices/SDRDeviceAdd.cpp:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void SDRDeviceAddDialog::OnOkButton( wxCommandEvent& /* event */) {
44 wxString strSel = m_soapyModule->GetStringSelection();
45 selectedModule = strSel.ToStdString();
46 moduleParam = m_paramText->GetValue().ToStdString();
47 okPressed = true;
48 Close(true);
49}
50
51bool SDRDeviceAddDialog::wasOkPressed() const {
52 return okPressed;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected