X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Feditor_ops.cc;h=364dace9b901ad97ff149f360fff0801f6dbb700;hb=d88cdcc1bf175b7c09aa3bee0ed075f838c2c423;hp=1ae5dc449b65a5d263f09e1baaa13da99da92784;hpb=fcabb275616d8fcd90f69bd77a5afd46cf23ea27;p=ardour.git 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; }