mhtml: Current index != Current tab_id
This commit is contained in:
parent
7f8c118991
commit
d5bc962046
@ -1184,7 +1184,7 @@ class CommandDispatcher:
|
|||||||
Args:
|
Args:
|
||||||
dest: The file path to write the download to.
|
dest: The file path to write the download to.
|
||||||
"""
|
"""
|
||||||
tab_id = self._current_index()
|
tab_id = self._current_widget().tab_id
|
||||||
if dest is None:
|
if dest is None:
|
||||||
suggested_fn = self._current_title() + ".mht"
|
suggested_fn = self._current_title() + ".mht"
|
||||||
suggested_fn = utils.sanitize_filename(suggested_fn)
|
suggested_fn = utils.sanitize_filename(suggested_fn)
|
||||||
|
Loading…
Reference in New Issue
Block a user