diff options
author | Len Ovens <len@ovenwerks.net> | 2016-11-06 21:59:33 -0800 |
---|---|---|
committer | Len Ovens <len@ovenwerks.net> | 2016-11-06 21:59:33 -0800 |
commit | 932cc4d347f988b1bc712749ff9ba1684d165bc7 (patch) | |
tree | 0a79162d0e09f6aaeb44ee85742fba74ad313611 /gtk2_ardour/editor_routes.cc | |
parent | 91c2527f5c347bc303575619821edad44c07dfa4 (diff) |
One more piece to the moving master puzzle.
Diffstat (limited to 'gtk2_ardour/editor_routes.cc')
-rw-r--r-- | gtk2_ardour/editor_routes.cc | 11 |
1 files 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()) { |