From 6385c1a4080b8d473062fef4d1bd846e6148b023 Mon Sep 17 00:00:00 2001 From: dogmaphobic Date: Sat, 4 Apr 2015 23:02:09 -0400 Subject: [PATCH] Might as well set the proper text in the menu. It now shows "Show" or "Hide" Status Bar depending on the current state. --- src/ui/MainWindow.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/MainWindow.cc b/src/ui/MainWindow.cc index 1e33c0689..e40edace4 100644 --- a/src/ui/MainWindow.cc +++ b/src/ui/MainWindow.cc @@ -642,6 +642,7 @@ void MainWindow::showStatusBarCallback(bool checked) { _showStatusBar = checked; checked ? statusBar()->show() : statusBar()->hide(); + _ui.actionStatusBar->setText(checked ? "Hide Status Bar" : "Show Status Bar"); } void MainWindow::closeEvent(QCloseEvent *event) -- 2.22.0