diff options
author | nick_m <mainsbridge@gmail.com> | 2015-06-17 00:45:04 +1000 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2015-06-17 09:54:22 +1000 |
commit | 4c1d79af4a253ff8a031a7c07a6fdd8d92d0b0e3 (patch) | |
tree | 9005cba5bbcbcd0072be32ecb95383fb6dfafd7b /gtk2_ardour/editor_timefx.cc | |
parent | 15336d06e41fed130f1a0db9eee07b74546c7d92 (diff) |
Unbreak region brush drag wrt undo, avoid some dangling commands in the gui
- also allow moving of automation lines in internal mouse mode.
- this is also a first pass at ensuring that if an operation does
nothing, avoid an undo entry.
Diffstat (limited to 'gtk2_ardour/editor_timefx.cc')
-rw-r--r-- | gtk2_ardour/editor_timefx.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_timefx.cc b/gtk2_ardour/editor_timefx.cc index 2025ec70c3..5908e50249 100644 --- a/gtk2_ardour/editor_timefx.cc +++ b/gtk2_ardour/editor_timefx.cc @@ -133,6 +133,8 @@ Editor::pitch_shift (RegionSelection& regions, float fraction) if (ret == 0) { commit_reversible_command (); + } else { + abort_reversible_command (); } return ret; |