mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-15 16:17:41 +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:
parent
2890e4db27
commit
336b2a8fe2
@ -83,11 +83,6 @@ bool SelectCommand::Apply(CommandExecutionContext context)
|
|||||||
Error(wxT("Start time is before start of track!"));
|
Error(wxT("Start time is before start of track!"));
|
||||||
return false;
|
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.
|
// PRL: to do: only setting time boundaries of current selection.
|
||||||
// Should other fields be left alone, or rather
|
// Should other fields be left alone, or rather
|
||||||
|
Loading…
x
Reference in New Issue
Block a user