From 3b47c3868339a256beda9f5d40b7a895774899c8 Mon Sep 17 00:00:00 2001 From: orangelynx Date: Sun, 12 Jul 2015 19:55:33 +0200 Subject: [PATCH] Made "Show Status Bar" menu entry more sensible. --- src/ui/MainWindow.cc | 1 - src/ui/MainWindow.ui | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ui/MainWindow.cc b/src/ui/MainWindow.cc index 13fd31475..c8bf39118 100644 --- a/src/ui/MainWindow.cc +++ b/src/ui/MainWindow.cc @@ -625,7 +625,6 @@ 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) diff --git a/src/ui/MainWindow.ui b/src/ui/MainWindow.ui index 4f85f736c..5cd863f9c 100644 --- a/src/ui/MainWindow.ui +++ b/src/ui/MainWindow.ui @@ -301,7 +301,7 @@ true - Status Bar + Show Status Bar -- 2.22.0