Don't try and split a region when dragging, should fix bug #6338
authorTim Mayberry <mojofunk@gmail.com>
Wed, 16 Sep 2015 06:28:18 +0000 (16:28 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Wed, 16 Sep 2015 06:28:18 +0000 (16:28 +1000)
gtk2_ardour/editor_ops.cc

index 2501b651fe42927d02f250b29482e2c33cee9114..3cdeff7c6de13641b197d1e149322f8cfdb5d3e5 100644 (file)
@@ -6123,6 +6123,10 @@ Editor::set_playhead_cursor ()
 void
 Editor::split_region ()
 {
+       if (_drags->active ()) {
+               return;
+       }
+
        //if a range is selected, separate it
        if ( !selection->time.empty()) {
                separate_regions_between (selection->time);