MCPcopy Create free account
hub / github.com/audacity/audacity / OnOk

Method OnOk

src/BatchCommandDialog.cpp:154–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void MacroCommandDialog::OnOk(wxCommandEvent & WXUNUSED(event))
155{
156 mSelectedCommand = mInternalCommandName
157 // .Strip(wxString::both) // PRL: used to do this, here only,
158 // but ultimately mSelectedCommand is looked up in the catalog without
159 // similar adjustment of whitespace in the comparison
160 ;
161 mSelectedParameters = mParameters->GetValue().Strip(wxString::trailing);
162 EndModal(true);
163}
164
165void MacroCommandDialog::OnCancel(wxCommandEvent & WXUNUSED(event))
166{

Callers

nothing calls this directly

Calls 1

GetValueMethod · 0.45

Tested by

no test coverage detected