diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-06 00:08:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-06 00:08:38 +0300 |
commit | 863ef6dc13fb3a7fb434ce173a84253f0c4559c5 (patch) | |
tree | 8e27d0ae9522e61c6805375cec35014bada1c1d6 /src/gui/ministatuswindow.cpp | |
parent | 44c92542331ea57553978e55585b5687d7034654 (diff) | |
download | mv-863ef6dc13fb3a7fb434ce173a84253f0c4559c5.tar.gz mv-863ef6dc13fb3a7fb434ce173a84253f0c4559c5.tar.bz2 mv-863ef6dc13fb3a7fb434ce173a84253f0c4559c5.tar.xz mv-863ef6dc13fb3a7fb434ce173a84253f0c4559c5.zip |
Allow hide yellow bar.
By default in new configurations yellow bar is hidden.
Diffstat (limited to 'src/gui/ministatuswindow.cpp')
-rw-r--r-- | src/gui/ministatuswindow.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/ministatuswindow.cpp b/src/gui/ministatuswindow.cpp index 5e4559c9c..70ebe7e01 100644 --- a/src/gui/ministatuswindow.cpp +++ b/src/gui/ministatuswindow.cpp @@ -436,13 +436,15 @@ void MiniStatusWindow::loadBars() mMoneyBar->setVisible(false); if (mArrowsBar) mArrowsBar->setVisible(false); + if (mStatusBar) + mStatusBar->setVisible(false); return; } for (int f = 0; f < 10; f ++) { std::string str = config.getValue("ministatus" + toString(f), ""); - if (str == "" || str == "status bar") + if (str == "") continue; ProgressBar *const bar = mBarNames[str]; if (!bar) |