From 2fd1bb388fd29c59c3aff6e0101a30a8b6db8ebc Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Fri, 1 Nov 2024 15:12:45 -0400 Subject: [PATCH] ENH: Hide status bar in zen mode, too (#295) --- mne_qt_browser/_pg_figure.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mne_qt_browser/_pg_figure.py b/mne_qt_browser/_pg_figure.py index bfd38530..ff11ae36 100644 --- a/mne_qt_browser/_pg_figure.py +++ b/mne_qt_browser/_pg_figure.py @@ -5248,6 +5248,7 @@ def _toggle_zenmode(self): self.mne.scrollbars_visible = not self.mne.scrollbars_visible for bar in [self.mne.ax_hscroll, self.mne.ax_vscroll]: bar.setVisible(self.mne.scrollbars_visible) + self.statusBar().setVisible(self.mne.scrollbars_visible) self.mne.toolbar.setVisible(self.mne.scrollbars_visible) def _new_child_figure(self, fig_name, window_title, **kwargs):