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(