fixed orderering of editor and mixer tracks

git-svn-id: svn://localhost/trunk/ardour2@321 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Doug McLain 2006-02-13 00:49:26 +00:00
parent 41a99bec4f
commit d61ce0ab49
2 changed files with 4 additions and 4 deletions

View File

@ -91,7 +91,7 @@ Editor::handle_new_route (Route& route)
row[route_display_columns.text] = route.name();
row[route_display_columns.visible] = tv->marked_for_display();
row[route_display_columns.tv] = tv;
track_views.push_back (tv);
ignore_route_list_reorder = true;
@ -224,7 +224,7 @@ Editor::redisplay_route_list ()
uint32_t position;
uint32_t order;
int n;
if (no_route_list_redisplay) {
return;
}
@ -476,7 +476,7 @@ Editor::route_list_selection_filter (const Glib::RefPtr<TreeModel>& model, const
struct EditorOrderRouteSorter {
bool operator() (Route* a, Route* b) {
/* use of ">" forces the correct sort order */
return a->order_key ("editor") > b->order_key ("editor");
return a->order_key ("editor") < b->order_key ("editor");
}
};

View File

@ -567,7 +567,7 @@ Mixer_UI::redisplay_track_list ()
struct SignalOrderRouteSorter {
bool operator() (Route* a, Route* b) {
/* use of ">" forces the correct sort order */
return a->order_key ("signal") > b->order_key ("signal");
return a->order_key ("signal") < b->order_key ("signal");
}
};