diff options
author | Carl Hetherington <carl@carlh.net> | 2010-01-12 23:50:57 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-01-12 23:50:57 +0000 |
commit | 92fbcd021d7d29390227521aa8c41ac273c99e04 (patch) | |
tree | 6e8d4d09294defae298267aea1b89393f3c0d6e5 /gtk2_ardour/editor_selection.cc | |
parent | 4e4c75a34a694a91bac75e763f3f83c512d11b36 (diff) |
Hopefully fix segfault.
git-svn-id: svn://localhost/ardour2/branches/3.0@6481 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_selection.cc')
-rw-r--r-- | gtk2_ardour/editor_selection.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc index e73de2bc51..3fb502f84e 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -1421,6 +1421,8 @@ Editor::deselect_all () long Editor::select_range_around_region (RegionView* rv) { + assert (rv); + selection->set (&rv->get_time_axis_view()); selection->time.clear (); |