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

Function OnHistory

src/HistoryWindow.cpp:507–514  ·  view source on GitHub ↗

Define our extra menu item that invokes that factory

Source from the content-addressed store, hash-verified

505
506// Define our extra menu item that invokes that factory
507void OnHistory(const CommandContext &context)
508{
509 auto &project = context.project;
510
511 auto historyWindow = &GetAttachedWindows(project).Get(sHistoryWindowKey);
512 historyWindow->Show();
513 historyWindow->Raise();
514}
515
516// Register that menu item
517

Callers

nothing calls this directly

Calls 3

RaiseMethod · 0.80
GetMethod · 0.45
ShowMethod · 0.45

Tested by

no test coverage detected