summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mir_app/src/clistgroups.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mir_app/src/clistgroups.cpp b/src/mir_app/src/clistgroups.cpp
index 2a1db3b118..185f4ce2da 100644
--- a/src/mir_app/src/clistgroups.cpp
+++ b/src/mir_app/src/clistgroups.cpp
@@ -298,6 +298,7 @@ MIR_APP_DLL(int) Clist_GroupMoveBefore(MGROUP hGroup, MGROUP hGroupBefore)
return 0;
if (hGroup < hGroupBefore) {
+ hGroupBefore--;
shuffleFrom = hGroup;
shuffleTo = hGroupBefore;
shuffleStep = 1;