13
0

Initialize Editor::clicked_selection to prevent programming error dialog/exit

This was triggered when reloading session and immediately duplicating range with
keyboard shortcut. As clicked_selection was uninitialized it would try to use
an invalid index into the TimeSelection.
This commit is contained in:
Tim Mayberry 2016-01-28 13:30:59 +10:00
parent 45e8bda65f
commit aedde11862

View File

@ -323,6 +323,7 @@ Editor::Editor ()
clicked_regionview = 0;
clicked_axisview = 0;
clicked_routeview = 0;
clicked_selection = 0;
clicked_control_point = 0;
last_update_frame = 0;
last_paste_pos = 0;