1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-03 17:19:43 +02:00

Allow scripting to select beyond tracks end time

This is required to set selection for generate effects in
new projects.
This commit is contained in:
Steve Daulton 2018-01-22 15:19:58 +00:00
parent 2890e4db27
commit 336b2a8fe2

View File

@ -83,11 +83,6 @@ bool SelectCommand::Apply(CommandExecutionContext context)
Error(wxT("Start time is before start of track!"));
return false;
}
if (t1 > context.GetProject()->GetTracks()->GetEndTime())
{
Error(wxT("End time is after end of track!"));
return false;
}
// PRL: to do: only setting time boundaries of current selection.
// Should other fields be left alone, or rather