mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix crash when adding more files to SendFilesBox.
This commit is contained in:
parent
12debce246
commit
18d218044c
1 changed files with 3 additions and 1 deletions
|
@ -500,7 +500,9 @@ void SendFilesBox::generatePreviewFrom(int fromBlock) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (type != Type::File && type != Type::None) {
|
if (type != Type::File
|
||||||
|
&& type != Type::Music
|
||||||
|
&& type != Type::None) {
|
||||||
if (albumStart < 0) {
|
if (albumStart < 0) {
|
||||||
albumStart = i;
|
albumStart = i;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue