mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00: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