aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Selection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Selection.cxx')
-rw-r--r--src/Selection.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Selection.cxx b/src/Selection.cxx
index 1ea5f1bbe..246cfe709 100644
--- a/src/Selection.cxx
+++ b/src/Selection.cxx
@@ -328,3 +328,7 @@ void Selection::RemoveDuplicates() {
}
}
+void Selection::RotateMain() {
+ mainRange = (mainRange + 1) % ranges.size();
+}
+