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

Method OnUsePreset

src/BatchCommandDialog.cpp:224–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224void MacroCommandDialog::OnUsePreset(wxCommandEvent & WXUNUSED(event))
225{
226 auto command = mInternalCommandName;
227 wxString params = mParameters->GetValue();
228
229 wxString preset = MacroCommands::PromptForPresetFor(command, params, this).Trim();
230
231 mParameters->SetValue(preset);
232 mParameters->Refresh();
233}
234
235void MacroCommandDialog::SetCommandAndParams(const CommandID &Command, const wxString &Params)
236{

Callers

nothing calls this directly

Calls 4

GetValueMethod · 0.45
TrimMethod · 0.45
SetValueMethod · 0.45
RefreshMethod · 0.45

Tested by

no test coverage detected