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

Function OnManageMacros

src/BatchProcessDialog.cpp:1439–1450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1437}
1438
1439void OnManageMacros(const CommandContext &context )
1440{
1441 auto &project = context.project;
1442 CommandManager::Get(project).RegisterLastTool(context); //Register Macros as Last Tool
1443 auto macrosWindow = &GetAttachedWindows(project)
1444 .AttachedWindows::Get< MacrosWindow >( sMacrosWindowKey );
1445 if (macrosWindow) {
1446 macrosWindow->Show();
1447 macrosWindow->Raise();
1448 macrosWindow->UpdateDisplay( true );
1449 }
1450}
1451
1452void OnApplyMacrosPalette(const CommandContext &context )
1453{

Callers

nothing calls this directly

Calls 5

GetFunction · 0.85
RegisterLastToolMethod · 0.80
RaiseMethod · 0.80
ShowMethod · 0.45
UpdateDisplayMethod · 0.45

Tested by

no test coverage detected