From a6e45a471a2af53a58ad28e769b232075cabab92 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Fri, 9 Jan 2015 11:14:34 -0600 Subject: [PATCH] make set_selection_from_region do something visible --- gtk2_ardour/editor_selection.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc index 518bfe0472..117459263c 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -1541,6 +1541,12 @@ Editor::set_selection_from_region () } selection->set (selection->regions.start(), selection->regions.end_frame()); + + //we must now select tracks, because otherwise set_selection_from_region would appear to do nothing + //perhaps too drastic; perhaps the user really only wants the region's track selected + //but I can't think of any use-case for that (why wouldn't you just select the region?) + select_all_tracks(); + if (!Profile->get_sae()) { set_mouse_mode (Editing::MouseRange, false); }