summaryrefslogtreecommitdiff
path: root/src/gui/minimap.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/minimap.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/minimap.cpp')
-rw-r--r--src/gui/minimap.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp
index 3762043c..5781b3fe 100644
--- a/src/gui/minimap.cpp
+++ b/src/gui/minimap.cpp
@@ -44,6 +44,8 @@ Minimap::Minimap():
mShow = config.getValue(getWindowName() + "Show", true);
setDefaultSize(5, 25, 100, 100);
setResizable(true);
+ setDefaultVisible(true);
+ setSaveVisible(true);
setStickyButton(true);
setSticky(false);