| 41 | } |
| 42 | |
| 43 | void 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 | |
| 51 | bool SDRDeviceAddDialog::wasOkPressed() const { |
| 52 | return okPressed; |
nothing calls this directly
no outgoing calls
no test coverage detected