mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-20 23:27:23 +00:00
Fix crash when adding more files to SendFilesBox.
This commit is contained in:
parent
12debce246
commit
18d218044c
@ -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…
Reference in New Issue
Block a user