mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Fix adding tracks/busses at the top
This commit is contained in:
parent
591d75f1d2
commit
1e97c09eed
1 changed files with 1 additions and 1 deletions
|
|
@ -4219,7 +4219,7 @@ PresentationInfo::order_t
|
||||||
ARDOUR_UI::translate_order (RouteDialogs::InsertAt place)
|
ARDOUR_UI::translate_order (RouteDialogs::InsertAt place)
|
||||||
{
|
{
|
||||||
if (editor->get_selection().tracks.empty()) {
|
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;
|
PresentationInfo::order_t order_hint = PresentationInfo::max_order;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue