diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2018-02-27 13:08:40 -0600 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2018-02-27 13:08:40 -0600 |
commit | d88cdcc1bf175b7c09aa3bee0ed075f838c2c423 (patch) | |
tree | 9bcab19eeb39824179e40a913b88f900fa9c76a6 /gtk2_ardour/editor_ops.cc | |
parent | fcabb275616d8fcd90f69bd77a5afd46cf23ea27 (diff) |
Reinstate the ability to split regions while dragging playhead. I think this was unintentionally lost.
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r-- | gtk2_ardour/editor_ops.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 1ae5dc449b..364dace9b9 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -6348,7 +6348,10 @@ Editor::set_playhead_cursor () void Editor::split_region () { - if (_drags->active ()) { + if (_dragging_playhead) { + /*continue*/ + } else if (_drags->active ()) { + /*any other kind of drag, bail out so we avoid Undo snafu*/ return; } |