diff --git a/qutebrowser/mainwindow/statusbar/bar.py b/qutebrowser/mainwindow/statusbar/bar.py index 21a35203af9..7c53eb72349 100644 --- a/qutebrowser/mainwindow/statusbar/bar.py +++ b/qutebrowser/mainwindow/statusbar/bar.py @@ -253,16 +253,10 @@ def _draw_widgets(self): self._hbox.addWidget(widget.widget) - if segment in ('history', 'progress'): - widget.widget.enabled = True - if tab: - widget.widget.on_tab_changed(tab) + if isinstance(widget, (backforward.Backforward, progress.Progress)) and tab: + widget.widget.on_tab_changed(tab) - # Do not call .show() for these widgets. They are not always shown, and - # dynamically show/hide themselves in their on_tab_changed() methods. - continue - - widget.show() + widget.enable() def _clear_widgets(self): """Clear widgets before redrawing them."""