mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
New attached structure ProjectSettings stores rate, snap-to, et al.
This commit is contained in:
@@ -3085,11 +3085,12 @@ int LabelTrack::FindNextLabel(const SelectedRegion& currentRegion)
|
||||
void LabelTrack::DoEditLabels
|
||||
(AudacityProject &project, LabelTrack *lt, int index)
|
||||
{
|
||||
auto format = project.GetSelectionFormat(),
|
||||
freqFormat = project.GetFrequencySelectionFormatName();
|
||||
const auto &settings = ProjectSettings::Get( project );
|
||||
auto format = settings.GetSelectionFormat(),
|
||||
freqFormat = settings.GetFrequencySelectionFormatName();
|
||||
auto &tracks = TrackList::Get( project );
|
||||
auto &trackFactory = TrackFactory::Get( project );
|
||||
auto rate = project.GetRate();
|
||||
auto rate = ProjectSettings::Get( project ).GetRate();
|
||||
auto &viewInfo = ViewInfo::Get( project );
|
||||
auto &window = ProjectWindow::Get( project );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user