projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
center, don't expand plugin widgets
[ardour.git]
/
gtk2_ardour
/
editor_timefx.cc
diff --git
a/gtk2_ardour/editor_timefx.cc
b/gtk2_ardour/editor_timefx.cc
index 765030507b649adaf16d916d36ca97fada65f1f8..5908e502493323005ae668d447eab5e2e4fa6ca9 100644
(file)
--- a/
gtk2_ardour/editor_timefx.cc
+++ b/
gtk2_ardour/editor_timefx.cc
@@
-76,6
+76,7
@@
Editor::time_stretch (RegionSelection& regions, float fraction)
}
if ((aret = time_fx (audio, fraction, false)) != 0) {
+ commit_reversible_command ();
return aret;
}
@@
-132,6
+133,8
@@
Editor::pitch_shift (RegionSelection& regions, float fraction)
if (ret == 0) {
commit_reversible_command ();
+ } else {
+ abort_reversible_command ();
}
return ret;