probable fix for crash while dragging playhead
authorPaul Davis <paul@linuxaudiosystems.com>
Sun, 19 Feb 2017 18:44:13 +0000 (19:44 +0100)
committerPaul Davis <paul@linuxaudiosystems.com>
Sun, 19 Feb 2017 18:44:37 +0000 (19:44 +0100)
gtk2_ardour/editor_drag.cc

index 0284d5af23af1f7d8f385679b6fdec60a51dda88..ff3b03221037f36055fd152c76b31960ef0cf7d8 100644 (file)
@@ -3667,6 +3667,7 @@ CursorDrag::start_grab (GdkEvent* event, Gdk::Cursor* c)
 
        _editor->snap_to_with_modifier (where, event);
        _editor->_dragging_playhead = true;
+       _editor->_control_scroll_target = where.frame;
 
        Session* s = _editor->session ();