PresentationInfo::ChangeSuspender cs;
if (up) {
- unselected_neighbour = view_stripables.end ();
+ unselected_neighbour = view_stripables.begin ();
+ ++unselected_neighbour;
vsi = view_stripables.begin();
- ++vsi;
while (vsi != view_stripables.end()) {
unselected_neighbour = view_stripables.end();
vsi = unselected_neighbour;
- --vsi;
do {
+ --vsi;
+
if (vsi->stripable->presentation_info().selected()) {
if (unselected_neighbour != view_stripables.end()) {
}
- --vsi;
-
} while (vsi != view_stripables.begin());
}
}