summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui.cc
diff options
context:
space:
mode:
authorLen Ovens <len@ovenwerks.net>2016-11-04 08:39:41 -0700
committerLen Ovens <len@ovenwerks.net>2016-11-04 08:39:41 -0700
commit1457050d7aa2f5e0bee1957ff3710f58c04a2c62 (patch)
tree9803c64e57f4a532dd8a25d25561f6b8e5f83f04 /gtk2_ardour/ardour_ui.cc
parent8fb8e1bbde25f996533e345ba515a7411525916a (diff)
Fix Drifting Master hopefully for real this time.
Diffstat (limited to 'gtk2_ardour/ardour_ui.cc')
-rw-r--r--gtk2_ardour/ardour_ui.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc
index 1b72edbebb..8c2ec76053 100644
--- a/gtk2_ardour/ardour_ui.cc
+++ b/gtk2_ardour/ardour_ui.cc
@@ -4053,8 +4053,7 @@ PresentationInfo::order_t
ARDOUR_UI::translate_order (RouteDialogs::InsertAt place)
{
if (editor->get_selection().tracks.empty()) {
- // tracks empty actually means we have master, add 1
- return PresentationInfo::max_order + 1;
+ return PresentationInfo::max_order;
}
PresentationInfo::order_t order_hint = PresentationInfo::max_order;