diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index d14c07ac9..d039bc291 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -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)