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

Method OnFormatsChanged

src/toolbars/SelectionBar.cpp:588–597  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

586}
587
588void SelectionBar::OnFormatsChanged(ProjectNumericFormatsEvent evt)
589{
590 auto &formats = ProjectNumericFormats::Get(mProject);
591 switch (evt.type) {
592 case ProjectNumericFormatsEvent::ChangedSelectionFormat:
593 return SetSelectionFormat(formats.GetSelectionFormat());
594 default:
595 break;
596 }
597}
598
599void SelectionBar::OnFocus(wxFocusEvent &event)
600{

Callers

nothing calls this directly

Calls 2

GetFunction · 0.85
GetSelectionFormatMethod · 0.45

Tested by

no test coverage detected