1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-29 16:08:46 +01:00

Fix FadeEnds Macro

This was broken by the change over to use internal names for enum values.
This commit is contained in:
James Crook
2018-04-08 20:34:29 +01:00
parent b792094b53
commit 7ef7e80e19

View File

@@ -131,7 +131,7 @@ void MacroCommands::RestoreMacro(const wxString & name)
} else if (name == GetCustomTranslation( FadeEnds ) ){
AddToMacro( wxT("Select"), wxT("Start=\"0\" End=\"1\"") );
AddToMacro( wxT("FadeIn") );
AddToMacro( wxT("Select"), wxT("Start=\"0\" End=\"1\" RelativeTo=\"Project End\"") );
AddToMacro( wxT("Select"), wxT("Start=\"0\" End=\"1\" RelativeTo=\"ProjectEnd\"") );
AddToMacro( wxT("FadeOut") );
AddToMacro( wxT("Select"), wxT("Start=\"0\" End=\"0\"") );
} else if (name == GetCustomTranslation( SelectToEnds ) ){