Fix :adblock-update.
This commit is contained in:
parent
46f3be2df7
commit
5fca27ad02
@ -724,7 +724,7 @@ class DownloadManager(QAbstractListModel):
|
|||||||
if prompt_download_directory is None:
|
if prompt_download_directory is None:
|
||||||
prompt_download_directory = config.get(
|
prompt_download_directory = config.get(
|
||||||
'storage', 'prompt-download-directory')
|
'storage', 'prompt-download-directory')
|
||||||
if not prompt_download_directory:
|
if not prompt_download_directory and not fileobj:
|
||||||
filename = config.get('storage', 'download-directory')
|
filename = config.get('storage', 'download-directory')
|
||||||
|
|
||||||
if fileobj is not None or filename is not None:
|
if fileobj is not None or filename is not None:
|
||||||
@ -818,7 +818,7 @@ class DownloadManager(QAbstractListModel):
|
|||||||
|
|
||||||
prompt_download_directory = config.get('storage',
|
prompt_download_directory = config.get('storage',
|
||||||
'prompt-download-directory')
|
'prompt-download-directory')
|
||||||
if not prompt_download_directory:
|
if not prompt_download_directory and not fileobj:
|
||||||
filename = config.get('storage', 'download-directory')
|
filename = config.get('storage', 'download-directory')
|
||||||
|
|
||||||
if filename is not None:
|
if filename is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user