2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +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) {