summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_selection.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-01-25 20:34:09 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-01-25 20:34:09 +0000
commit832aa18a813f5ed4cb8e1228c52d89ee6d8946c7 (patch)
tree7f6edd7d4cabb58ccddceac9aa18d38cc2987313 /gtk2_ardour/editor_selection.cc
parent10395d2feeeac8949e9fd491173e467c9852879e (diff)
a boatload of minor and middle-sized changes to try to speed up undo. imperfect, unfinished, but probably right to commit now
git-svn-id: svn://localhost/ardour2/branches/3.0@6561 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_selection.cc')
-rw-r--r--gtk2_ardour/editor_selection.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc
index 4c4b4f0c86..2b94a05619 100644
--- a/gtk2_ardour/editor_selection.cc
+++ b/gtk2_ardour/editor_selection.cc
@@ -870,6 +870,8 @@ 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);
}