diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-20 17:12:58 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-20 17:12:58 -0600 |
commit | 9f43e32022ac261c6475fc68832cbe9ba9645362 (patch) | |
tree | e7adfbfd17ade39fe03671e2be677934a7e894cd /src/gui/ministatus.cpp | |
parent | 3a7224117dfb6709b059fc258876699e969ec119 (diff) | |
download | mana-client-9f43e32022ac261c6475fc68832cbe9ba9645362.tar.gz mana-client-9f43e32022ac261c6475fc68832cbe9ba9645362.tar.bz2 mana-client-9f43e32022ac261c6475fc68832cbe9ba9645362.tar.xz mana-client-9f43e32022ac261c6475fc68832cbe9ba9645362.zip |
Fix up window visibility saving/restoring
Diffstat (limited to 'src/gui/ministatus.cpp')
-rw-r--r-- | src/gui/ministatus.cpp | 2 |
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) |