2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Clear 'Cancelled' flag on download start.

Fixes #6123.
This commit is contained in:
John Preston
2019-07-04 13:21:43 +02:00
parent 556f36ba7e
commit 226ca6d117

View File

@@ -912,9 +912,9 @@ void DocumentData::save(
if (_loader) {
if (!_loader->setFileName(toFile)) {
cancel();
_flags &= ~Flag::DownloadCancelled;
}
}
_flags &= ~Flag::DownloadCancelled;
if (_loader) {
if (fromCloud == LoadFromCloudOrLocal) {