fix thinko in prev commit
authorRobin Gareus <robin@gareus.org>
Mon, 20 Feb 2017 20:52:13 +0000 (21:52 +0100)
committerRobin Gareus <robin@gareus.org>
Mon, 20 Feb 2017 20:52:13 +0000 (21:52 +0100)
gtk2_ardour/editor_routes.cc

index abdd3f47b1c651b70d35467d1e35e1d96a7a92c5..50c0eabc04fad25e75131639f65000502521f704 100644 (file)
@@ -1663,8 +1663,7 @@ EditorRoutes::move_selected_tracks (bool up)
                PresentationInfo::ChangeSuspender cs;
 
                if (up) {
-                       unselected_neighbour = view_stripables.begin ();
-                       ++unselected_neighbour;
+                       unselected_neighbour = view_stripables.end ();
                        vsi = view_stripables.begin();
 
                        while (vsi != view_stripables.end()) {