Commit 415e1642 authored by Lorenz Meier's avatar Lorenz Meier

Merge pull request #1715 from orangelynx/master

"Show Status Bar" menu entry more sensible.
parents 27d6ccae 3b47c386
...@@ -625,7 +625,6 @@ void MainWindow::showStatusBarCallback(bool checked) ...@@ -625,7 +625,6 @@ void MainWindow::showStatusBarCallback(bool checked)
{ {
_showStatusBar = checked; _showStatusBar = checked;
checked ? statusBar()->show() : statusBar()->hide(); checked ? statusBar()->show() : statusBar()->hide();
_ui.actionStatusBar->setText(checked ? "Hide Status Bar" : "Show Status Bar");
} }
void MainWindow::closeEvent(QCloseEvent *event) void MainWindow::closeEvent(QCloseEvent *event)
......
...@@ -301,7 +301,7 @@ ...@@ -301,7 +301,7 @@
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Status Bar</string> <string>Show Status Bar</string>
</property> </property>
</action> </action>
<action name="actionExperimentalPlanView"> <action name="actionExperimentalPlanView">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment