diff --git a/qutebrowser/mainwindow/mainwindow.py b/qutebrowser/mainwindow/mainwindow.py index 6bfae1589..846020b86 100644 --- a/qutebrowser/mainwindow/mainwindow.py +++ b/qutebrowser/mainwindow/mainwindow.py @@ -416,8 +416,7 @@ class MainWindow(QWidget): e.ignore() return e.accept() - if len(objreg.window_registry) == 1: - objreg.get('session-manager').save_last_window_session() + objreg.get('session-manager').save_last_window_session() self._save_geometry() log.destroy.debug("Closing window {}".format(self.win_id)) self._tabbed_browser.shutdown()