diff options
author | Robin Gareus <robin@gareus.org> | 2017-06-17 04:31:18 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-06-17 04:37:10 +0200 |
commit | 1e97c09eed646adb030fd198d9ced9530bae20cb (patch) | |
tree | 61add1a8b9dc8a54f249262f35007c420ad8cd5f /gtk2_ardour/ardour_ui.cc | |
parent | 591d75f1d24f3b8acc76995434c9a377e0245337 (diff) |
Fix adding tracks/busses at the top
Diffstat (limited to 'gtk2_ardour/ardour_ui.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index 73fa305955..5cec015268 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -4219,7 +4219,7 @@ PresentationInfo::order_t ARDOUR_UI::translate_order (RouteDialogs::InsertAt place) { if (editor->get_selection().tracks.empty()) { - return PresentationInfo::max_order; + return place == RouteDialogs::First ? 0 : PresentationInfo::max_order; } PresentationInfo::order_t order_hint = PresentationInfo::max_order; |