mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 12:45:45 +01:00
Re-work TimeFX cancel/abort
When processing multiple regions, apply results at the end, so that when the action is canceled, no changes are applied. Furthermore, do not commit an undo-command if time-stretch is a no-op.
This commit is contained in:
parent
1776939dd3
commit
c36dfbedb7
2 changed files with 62 additions and 33 deletions
|
|
@ -246,7 +246,6 @@ TimeFXDialog::timer_update ()
|
|||
void
|
||||
TimeFXDialog::cancel_in_progress ()
|
||||
{
|
||||
status = -2;
|
||||
request.cancel = true;
|
||||
first_cancel.disconnect();
|
||||
}
|
||||
|
|
@ -254,7 +253,6 @@ TimeFXDialog::cancel_in_progress ()
|
|||
gint
|
||||
TimeFXDialog::delete_in_progress (GdkEventAny*)
|
||||
{
|
||||
status = -2;
|
||||
request.cancel = true;
|
||||
first_delete.disconnect();
|
||||
return TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue