[Summary] Fixed crash with an attempt to resize active loop

[Reviewed by] Paul Davis
[Reviewed by QA] MKosharniy
This commit is contained in:
GZharun 2015-01-26 10:43:37 +02:00
parent a8d050ce06
commit ca79e78fb8

View file

@ -4151,7 +4151,11 @@ SelectionDrag::start_grab (GdkEvent* event, Gdk::Cursor*)
show_verbose_cursor_time (adjusted_current_frame (event));
}
_original_pointer_time_axis = _editor->trackview_by_y_position (current_pointer_y ()).first->order ();
TimeAxisView* view = _editor->trackview_by_y_position (current_pointer_y ()).first;
if (view) {
_original_pointer_time_axis = view->order ();
}
}
void