mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-01 16:19:43 +02:00
Bug 275 - Snap-To status/quantisation are global, leading to incorrect indications in multiple projects
Missed a portion of the patch (when splitting bigger patch into 3)
This commit is contained in:
parent
3d95126e0e
commit
edbb189bf8
@ -1213,6 +1213,20 @@ void AudacityProject::AS_SetSelectionFormat(const wxString & format)
|
||||
gPrefs->Flush();
|
||||
}
|
||||
|
||||
void AudacityProject::SetSelectionFormat(const wxString & format)
|
||||
{
|
||||
AS_SetSelectionFormat(format);
|
||||
if (GetSelectionBar()) {
|
||||
GetSelectionBar()->SetSelectionFormat(format);
|
||||
}
|
||||
}
|
||||
|
||||
const wxString & AudacityProject::GetSelectionFormat()
|
||||
{
|
||||
return mSelectionFormat;
|
||||
}
|
||||
|
||||
|
||||
void AudacityProject::AS_ModifySelection(double &start, double &end, bool done)
|
||||
{
|
||||
mViewInfo.sel0 = start;
|
||||
|
Loading…
x
Reference in New Issue
Block a user