Fix route ordering (mixer TV lacks master-bus)
authorRobin Gareus <robin@gareus.org>
Thu, 16 Feb 2017 23:44:02 +0000 (00:44 +0100)
committerRobin Gareus <robin@gareus.org>
Thu, 16 Feb 2017 23:44:02 +0000 (00:44 +0100)
commit91cee14ca670b3c93a2eb6cab79c1fbf3d4b71c9
tree27e0393b70352f5691e60643c9e1e2cd89fb9c91
parentd2b823b3c5f093d68027cf1bbfbf8d5152d2a701
Fix route ordering (mixer TV lacks master-bus)

Skip master bus' order-key when re-ordering routes in the mixer.

This also fixes a related issue:
When a new track is added, Session::RouteAdded will call be handled by
Editor::add_routes AND Mixer_UI::add_routes, leading to calls to both:

- EditorRoutes::sync_presentation_info_from_treeview()
- Mixer_UI::sync_presentation_info_from_treeview ()

which potentially set different order-keys.
gtk2_ardour/mixer_ui.cc