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

Function OnShowRMS

src/menus/ViewMenus.cpp:277–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277void OnShowRMS(const CommandContext &context)
278{
279 auto &project = context.project;
280 auto &trackPanel = TrackPanel::Get( project );
281
282 ShowRMSPref().Toggle();
283 gPrefs->Flush();
284
285 ToolManager::ModifyAllProjectToolbarMenus();
286
287 trackPanel.Refresh(false);
288}
289
290} // namespace
291

Callers

nothing calls this directly

Calls 4

GetFunction · 0.85
ToggleMethod · 0.45
FlushMethod · 0.45
RefreshMethod · 0.45

Tested by

no test coverage detected