Fix multiple file QWebPage extension.
We accidentally broke that in 4c78b611eb
.
This commit is contained in:
parent
6f81a5094a
commit
ae2284f4aa
@ -143,8 +143,8 @@ class BrowserPage(QWebPage):
|
||||
True on success, the superclass return value on failure.
|
||||
"""
|
||||
suggested_file = ""
|
||||
if opt.suggestedFileNames:
|
||||
suggested_file = opt.suggestedFileNames[0]
|
||||
if info.suggestedFileNames:
|
||||
suggested_file = info.suggestedFileNames[0]
|
||||
files.fileNames, _ = QFileDialog.getOpenFileNames(None, None,
|
||||
suggested_file)
|
||||
return True
|
||||
|
Loading…
Reference in New Issue
Block a user