mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +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);
|
||||
if (archived.isEmpty() || index != archived.size() - 1) {
|
||||
changedSets = true;
|
||||
if (index < archived.size() - 1) {
|
||||
if (index >= 0 && index < archived.size() - 1) {
|
||||
archived.removeAt(index);
|
||||
}
|
||||
archived.push_back(set->id);
|
||||
|
|
Loading…
Add table
Reference in a new issue