mhtml: Current index != Current tab_id

This commit is contained in:
Daniel Schadt 2015-11-20 18:15:03 +01:00
parent 7f8c118991
commit d5bc962046

View File

@ -1184,7 +1184,7 @@ class CommandDispatcher:
Args:
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:
suggested_fn = self._current_title() + ".mht"
suggested_fn = utils.sanitize_filename(suggested_fn)