diff options
| author | George Hazan <george.hazan@gmail.com> | 2024-07-09 20:58:56 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2024-07-09 20:58:56 +0300 |
| commit | b3a20ea7a51d324ae4e3a66b71920177bd838ff3 (patch) | |
| tree | ab1fea21d5c6727c7027991fb1ad7b6cd46f8ae1 | |
| parent | 73dcc8be15c67e3ef7c10767886fcca676100424 (diff) | |
fixes 1) of #4513
| -rw-r--r-- | src/mir_app/src/clistgroups.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/src/clistgroups.cpp b/src/mir_app/src/clistgroups.cpp index c4d4ed2dba..2a1db3b118 100644 --- a/src/mir_app/src/clistgroups.cpp +++ b/src/mir_app/src/clistgroups.cpp @@ -288,8 +288,8 @@ MIR_APP_DLL(int) Clist_GroupMoveBefore(MGROUP hGroup, MGROUP hGroupBefore) // shuffle list of groups up to fill gap
int shuffleFrom, shuffleTo, shuffleStep;
if (hGroupBefore == 0) {
- shuffleFrom = 0;
- shuffleTo = hGroup;
+ shuffleFrom = hGroup;
+ shuffleTo = hGroupBefore = arByIds.getCount() - 1;
shuffleStep = 1;
}
else {
|
