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:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user