From 33e66d21bdb1d7393c405e1cc2b16ed1575301c3 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sun, 23 Apr 2023 18:44:52 +0400 Subject: [PATCH] Force dst path creation on Save Selected. --- Telegram/SourceFiles/menu/menu_item_download_files.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/menu/menu_item_download_files.cpp b/Telegram/SourceFiles/menu/menu_item_download_files.cpp index ea37cae969..032471a96d 100644 --- a/Telegram/SourceFiles/menu/menu_item_download_files.cpp +++ b/Telegram/SourceFiles/menu/menu_item_download_files.cpp @@ -97,6 +97,7 @@ void AddAction( return; } + QDir().mkpath(path); const auto fullPath = [&](int i) { return filedialogDefaultName( u"photo_"_q + QString::number(i),