diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2015-01-09 11:14:34 -0600 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2015-01-09 12:21:10 -0600 |
commit | a6e45a471a2af53a58ad28e769b232075cabab92 (patch) | |
tree | d44dfbedbf061433245ed911c1e13abda0587864 | |
parent | 5b5e10568061dfa8058880e4ca5e3adfa074b84c (diff) |
make set_selection_from_region do something visible
-rw-r--r-- | gtk2_ardour/editor_selection.cc | 6 |
1 files changed, 6 insertions, 0 deletions
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); } |