diff options
author | Robin Gareus <robin@gareus.org> | 2019-02-26 03:01:53 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-02-26 03:01:53 +0100 |
commit | c36dfbedb7e6adb321c0c599b9d2def0bc32dde1 (patch) | |
tree | 1e5687e93fa578b80bde22499ef03fb83619797a /gtk2_ardour/time_fx_dialog.cc | |
parent | 1776939dd357ac5d804810b8e2264c852f949d41 (diff) |
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.
Diffstat (limited to 'gtk2_ardour/time_fx_dialog.cc')
-rw-r--r-- | gtk2_ardour/time_fx_dialog.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk2_ardour/time_fx_dialog.cc b/gtk2_ardour/time_fx_dialog.cc index c51bdcd5e2..8ca0119030 100644 --- a/gtk2_ardour/time_fx_dialog.cc +++ b/gtk2_ardour/time_fx_dialog.cc @@ -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; |