mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
parent
234ff3ba37
commit
94bec3b574
1 changed files with 1 additions and 1 deletions
|
@ -492,7 +492,7 @@ void StickersBox::getArchivedDone(
|
||||||
const auto index = archived.indexOf(set->id);
|
const auto index = archived.indexOf(set->id);
|
||||||
if (archived.isEmpty() || index != archived.size() - 1) {
|
if (archived.isEmpty() || index != archived.size() - 1) {
|
||||||
changedSets = true;
|
changedSets = true;
|
||||||
if (index < archived.size() - 1) {
|
if (index >= 0 && index < archived.size() - 1) {
|
||||||
archived.removeAt(index);
|
archived.removeAt(index);
|
||||||
}
|
}
|
||||||
archived.push_back(set->id);
|
archived.push_back(set->id);
|
||||||
|
|
Loading…
Add table
Reference in a new issue