fix: incorrect default path setting for dl items (#17773)
This commit is contained in:
parent
258d337cf8
commit
82a076855b
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ void AtomDownloadManagerDelegate::OnDownloadPathGenerated(
|
|||
settings.parent_window = window;
|
||||
if (settings.title.size() == 0)
|
||||
settings.title = item->GetURL().spec();
|
||||
if (!settings.default_path.empty())
|
||||
if (settings.default_path.empty())
|
||||
settings.default_path = default_path;
|
||||
|
||||
auto* web_preferences = WebContentsPreferences::From(web_contents);
|
||||
|
|
Loading…
Reference in a new issue