1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-27 15:53:49 +01:00

Rearrange the setting of project snap-to...

... Just one low-level function to simply set the variable, and one
high-level function that also pushes notifications.  The danger of infinite
recursion in the toolbar code, as in the previous commit, doesn't exist here.
This commit is contained in:
Paul Licameli
2019-05-27 10:00:30 -04:00
parent 35892fc869
commit c2d57d9e9b
3 changed files with 12 additions and 10 deletions

View File

@@ -250,7 +250,7 @@ void QuickFixDialog::OnFix(wxCommandEvent &event)
// preference dialogs.
if( Str == "/SnapTo" )
{
pProject->SetSnapTo( 0 );
pProject->AS_SetSnapTo( 0 );
}
else
{