Commit 6385c1a4 authored by dogmaphobic's avatar dogmaphobic

Might as well set the proper text in the menu.

It now shows "Show" or "Hide" Status Bar depending on the current state.
parent 9f370da7
......@@ -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)
......
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