summaryrefslogtreecommitdiff
path: root/src/gui/ministatus.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-20 17:12:58 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-20 17:12:58 -0600
commit9f43e32022ac261c6475fc68832cbe9ba9645362 (patch)
treee7adfbfd17ade39fe03671e2be677934a7e894cd /src/gui/ministatus.cpp
parent3a7224117dfb6709b059fc258876699e969ec119 (diff)
downloadmana-9f43e32022ac261c6475fc68832cbe9ba9645362.tar.gz
mana-9f43e32022ac261c6475fc68832cbe9ba9645362.tar.bz2
mana-9f43e32022ac261c6475fc68832cbe9ba9645362.tar.xz
mana-9f43e32022ac261c6475fc68832cbe9ba9645362.zip
Fix up window visibility saving/restoring
Diffstat (limited to 'src/gui/ministatus.cpp')
-rw-r--r--src/gui/ministatus.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/ministatus.cpp b/src/gui/ministatus.cpp
index 9f74ad6e..b49ca051 100644
--- a/src/gui/ministatus.cpp
+++ b/src/gui/ministatus.cpp
@@ -61,6 +61,8 @@ MiniStatusWindow::MiniStatusWindow():
setContentSize(mHpBar->getX() + mHpBar->getWidth(),
mHpBar->getY() + mHpBar->getHeight());
#endif
+
+ setVisible((bool) config.getValue(getPopupName() + "Visible", true));
}
void MiniStatusWindow::setIcon(int index, AnimatedSprite *sprite)