diff options
author | Robin Gareus <robin@gareus.org> | 2016-12-22 01:38:55 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-12-22 01:38:55 +0100 |
commit | 851cdf26c902ec3ea7d3a3449b5fd1e3d8a686a4 (patch) | |
tree | 55e33d5f509096e615ad53d9bafd9d17dd914f3f /gtk2_ardour/mixer_ui.cc | |
parent | 7f88207b431ece3f19fead89d264cbe5cbdb93a5 (diff) |
Display VCAs at the end of the Track/Bus list
Diffstat (limited to 'gtk2_ardour/mixer_ui.cc')
-rw-r--r-- | gtk2_ardour/mixer_ui.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/mixer_ui.cc b/gtk2_ardour/mixer_ui.cc index 857af7fc14..02daf63f1d 100644 --- a/gtk2_ardour/mixer_ui.cc +++ b/gtk2_ardour/mixer_ui.cc @@ -784,10 +784,11 @@ Mixer_UI::sync_treeview_from_presentation_info () } OrderingKeys sorted; + const size_t cmp_max = rows.size (); for (TreeModel::Children::iterator ri = rows.begin(); ri != rows.end(); ++ri, ++old_order) { boost::shared_ptr<Stripable> stripable = (*ri)[stripable_columns.stripable]; - sorted.push_back (OrderKeys (old_order, stripable->presentation_info().order())); + sorted.push_back (OrderKeys (old_order, stripable, cmp_max)); } SortByNewDisplayOrder cmp; |