projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45e8bda
)
Initialize Editor::clicked_selection to prevent programming error dialog/exit
author
Tim Mayberry
<mojofunk@gmail.com>
Thu, 28 Jan 2016 03:30:59 +0000
(13:30 +1000)
committer
Tim Mayberry
<mojofunk@gmail.com>
Thu, 28 Jan 2016 03:42:37 +0000
(13:42 +1000)
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.
gtk2_ardour/editor.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor.cc
b/gtk2_ardour/editor.cc
index a77fafe35ef520c54121b4f220de49c7cb143322..4eb6234845e02423b36c427806e18369620ea3c2 100644
(file)
--- a/
gtk2_ardour/editor.cc
+++ b/
gtk2_ardour/editor.cc
@@
-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;