projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a992cd5
)
avoid num-tracks repeat call EditorRegions::set_selected() when a region is selected...
author
Paul Davis
<paul@linuxaudiosystems.com>
Sun, 17 Jan 2010 23:11:22 +0000
(23:11 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Sun, 17 Jan 2010 23:11:22 +0000
(23:11 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@6512
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/editor_selection.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_selection.cc
b/gtk2_ardour/editor_selection.cc
index 3fb502f84e6bae129884747db5bc4f09019b774f..4c4b4f0c8640512e24f48fb3c10db7367d38feeb 100644
(file)
--- a/
gtk2_ardour/editor_selection.cc
+++ b/
gtk2_ardour/editor_selection.cc
@@
-870,15
+870,12
@@
Editor::region_selection_changed ()
_regions->block_change_connection (true);
editor_regions_selection_changed_connection.block(true);
- _regions->unselect_all ();
-
for (TrackViewList::iterator i = track_views.begin(); i != track_views.end(); ++i) {
-
(*i)->set_selected_regionviews (selection->regions);
- _regions->set_selected (selection->regions);
-
}
+ _regions->set_selected (selection->regions);
+
sensitize_the_right_region_actions (!selection->regions.empty());
_regions->block_change_connection (false);