1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-01-27 23:37:14 +01:00

Fix mistaken usage of ProjectSettings

This commit is contained in:
Paul Licameli
2020-01-06 13:48:51 -05:00
parent 79bc14b2cf
commit c7984a2c83

View File

@@ -706,7 +706,7 @@ NumericFormatSymbol Effect::GetDurationFormat()
NumericFormatSymbol Effect::GetSelectionFormat() NumericFormatSymbol Effect::GetSelectionFormat()
{ {
return ProjectSettings( *GetActiveProject() ).GetSelectionFormat(); return ProjectSettings::Get( *GetActiveProject() ).GetSelectionFormat();
} }
void Effect::SetDuration(double seconds) void Effect::SetDuration(double seconds)