| 1437 | } |
| 1438 | |
| 1439 | void 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 | |
| 1452 | void OnApplyMacrosPalette(const CommandContext &context ) |
| 1453 | { |
nothing calls this directly
no test coverage detected