summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_selection.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-09-28 17:27:58 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-09-28 17:27:58 +0000
commit40903b19266fb42a49903ad3cbfb8c388704f068 (patch)
tree521c00261ee0c0b3efa2dc08b0d448b0950a97d7 /gtk2_ardour/editor_selection.cc
parentbaf8cfe8151273265e6325bc223fe349eb33ada7 (diff)
(1) use select next/previous row functions for tab/shift-tab navigation in region list (2) add start (in-file) column to region list (3) make region list parent/child relationships work for MIDI regions (4) fix up handling of region selection changes driven by region list selection (i think i fixed, anyway) (5) don't put text in whole file rows for columns where it makes no sense like position or mute etc.
git-svn-id: svn://localhost/ardour2/branches/3.0@7850 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_selection.cc')
-rw-r--r--gtk2_ardour/editor_selection.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc
index bcd2aab6f0..4fc418b8b3 100644
--- a/gtk2_ardour/editor_selection.cc
+++ b/gtk2_ardour/editor_selection.cc
@@ -957,7 +957,7 @@ Editor::region_selection_changed ()
_regions->block_change_connection (true);
editor_regions_selection_changed_connection.block(true);
- if (!_block_region_list_update_if_empty || !selection->regions.empty()) {
+ if (_region_selection_change_updates_region_list) {
_regions->unselect_all ();
}
@@ -965,7 +965,9 @@ Editor::region_selection_changed ()
(*i)->set_selected_regionviews (selection->regions);
}
- _regions->set_selected (selection->regions);
+ if (_region_selection_change_updates_region_list) {
+ _regions->set_selected (selection->regions);
+ }
sensitize_the_right_region_actions (!selection->regions.empty());