projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reinstate the ability to split regions while dragging playhead. I think this was...
[ardour.git]
/
gtk2_ardour
/
editor_ops.cc
diff --git
a/gtk2_ardour/editor_ops.cc
b/gtk2_ardour/editor_ops.cc
index 1ae5dc449b65a5d263f09e1baaa13da99da92784..364dace9b901ad97ff149f360fff0801f6dbb700 100644
(file)
--- 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;
}