2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Handle cancel in menu_item_download_files, too

This commit is contained in:
Ilya Fedin
2022-11-10 02:38:53 +04:00
committed by John Preston
parent 0cd0ad7a5b
commit d756ecc609

View File

@@ -84,6 +84,7 @@ void AddAction(
: (downloadPath == u"tmp"_q)
? session->local().tempDirectory()
: downloadPath;
if (path.isEmpty()) return;
const auto fullPath = [&](int i) {
return filedialogDefaultName(