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

Function OnSyncLock

src/menus/TrackMenus.cpp:914–926  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

912}
913
914void OnSyncLock(const CommandContext &context)
915{
916 auto &project = context.project;
917 auto &trackPanel = TrackPanel::Get( project );
918
919 SyncLockTracks.Toggle();
920 gPrefs->Flush();
921
922 // Toolbar, project sync-lock handled within
923 ToolManager::ModifyAllProjectToolbarMenus();
924
925 trackPanel.Refresh(false);
926}
927
928///The following methods operate controls on specified tracks,
929///This will pop up the track panning dialog for specified track

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