diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-03-26 16:12:10 +0200 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-03-26 16:12:10 +0200 |
commit | 453e07d0a257c0fd34b6ed5f8f4d0f6ffb862c4f (patch) | |
tree | f0c785626666780746b087001636fabeb657f56f /gtk2_ardour/editor.cc | |
parent | 7720caf36a28babb5bf7cb16598a59bbe5244ef5 (diff) |
make selection of tracks/busses after adding them slightly more efficient
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r-- | gtk2_ardour/editor.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 22723fa3dc..5b4ff5044d 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -5399,8 +5399,7 @@ Editor::add_stripables (StripableList& sl) */ if (!from_scratch && !new_selection.empty()) { - selection->tracks.clear(); - selection->add (new_selection); + selection->set (new_selection); begin_selection_op_history(); } |