Reinstate the ability to split regions while dragging playhead. I think this was...
[ardour.git] / gtk2_ardour / editor_ops.cc
index 1ae5dc449b65a5d263f09e1baaa13da99da92784..364dace9b901ad97ff149f360fff0801f6dbb700 100644 (file)
@@ -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;
        }