From 932cc4d347f988b1bc712749ff9ba1684d165bc7 Mon Sep 17 00:00:00 2001 From: Len Ovens Date: Sun, 6 Nov 2016 21:59:33 -0800 Subject: One more piece to the moving master puzzle. --- gtk2_ardour/editor_routes.cc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/gtk2_ardour/editor_routes.cc b/gtk2_ardour/editor_routes.cc index 2754ba3dd8..89732537f7 100644 --- a/gtk2_ardour/editor_routes.cc +++ b/gtk2_ardour/editor_routes.cc @@ -1042,12 +1042,17 @@ EditorRoutes::sync_presentation_info_from_treeview () * presentation order 1 */ if ((count == 0) && master_is_first && (stripable->presentation_info().order() == 1)) { - master_is_first = false; + master_is_first = false; // someone has moved master order = 0; } - if (stripable->is_master() && (master_is_first == true)) { - continue; + if (stripable->is_master() && master_is_first) { + if (count) { + continue; + } else { + count++; + continue; + } } if (order != stripable->presentation_info().order()) { -- cgit v1.2.3