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/editor_routes.cc | |
parent | 7f88207b431ece3f19fead89d264cbe5cbdb93a5 (diff) |
Display VCAs at the end of the Track/Bus list
Diffstat (limited to 'gtk2_ardour/editor_routes.cc')
-rw-r--r-- | gtk2_ardour/editor_routes.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_routes.cc b/gtk2_ardour/editor_routes.cc index fd5e68f3ef..d0ff0dfbfe 100644 --- a/gtk2_ardour/editor_routes.cc +++ b/gtk2_ardour/editor_routes.cc @@ -1094,11 +1094,12 @@ EditorRoutes::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)[_columns.stripable]; /* use global order */ - sorted.push_back (OrderKeys (old_order, stripable->presentation_info().order())); + sorted.push_back (OrderKeys (old_order, stripable, cmp_max)); } SortByNewDisplayOrder cmp; |