1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02:00

Bug 275 - Snap-To status/quantisation are global, leading to incorrect indications in multiple projects

This adds (I believe) project specific selection format.
This commit is contained in:
lllucius
2013-10-27 01:58:35 +00:00
parent ded45eb85e
commit 3d95126e0e
7 changed files with 42 additions and 14 deletions

View File

@@ -44,9 +44,7 @@ SnapManager::SnapManager(TrackList *tracks, TrackClipArray *exclusions,
if (p) {
mConverter.SetSampleRate(p->GetRate());
mSnapToTime = true;
wxString formatName;
gPrefs->Read(wxT("/SelectionFormat"), &formatName);
mConverter.SetFormatString(mConverter.GetBuiltinFormat(formatName));
mConverter.SetFormatName(GetActiveProject()->GetSelectionFormat());
}
}