mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +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;
|
||||
}
|
||||
}
|
||||
if (type != Type::File && type != Type::None) {
|
||||
if (type != Type::File
|
||||
&& type != Type::Music
|
||||
&& type != Type::None) {
|
||||
if (albumStart < 0) {
|
||||
albumStart = i;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue