mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix crash when adding more files to SendFilesBox.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user