diff options
-rw-r--r-- | gtk2_ardour/ardour_ui.cc | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index 127927e80a..010f7d35e5 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -3250,6 +3250,11 @@ ARDOUR_UI::setup_order_hint () order_hint = (*s)->route()->order_key(); } } + + if (!mixer->selection().routes.empty()) { + order_hint++; + } + } else { for (TrackSelection::iterator s = editor->get_selection().tracks.begin(); s != editor->get_selection().tracks.end(); ++s) { RouteTimeAxisView* tav = dynamic_cast<RouteTimeAxisView*> (*s); @@ -3257,10 +3262,10 @@ ARDOUR_UI::setup_order_hint () order_hint = tav->route()->order_key(); } } - } - if (!mixer->selection().routes.empty() || !editor->get_selection().tracks.empty()) { - order_hint++; + if (!editor->get_selection().tracks.empty()) { + order_hint++; + } } _session->set_order_hint (order_hint); |