mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Download Manager: Fix storing last download path
This commit is contained in:
parent
d1f266cc49
commit
6280d34e70
|
@ -230,6 +230,8 @@ void DownloadManager::download(QWebEngineDownloadItem *downloadItem)
|
|||
|
||||
case 2: // Save
|
||||
downloadPath = QFileDialog::getSaveFileName(mApp->activeWindow(), tr("Save file as..."), m_lastDownloadPath + fileName);
|
||||
m_lastDownloadPath = QFileInfo(downloadPath).absolutePath();
|
||||
Settings().setValue(QSL("lastDownloadPath"), m_lastDownloadPath);
|
||||
m_lastDownloadOption = SaveFile;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user