summaryrefslogtreecommitdiff
path: root/src/gui/whoisonline.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-05 16:47:19 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-05 16:47:19 +0300
commit7ec8cec84e27c3460c6d51b3c58e0644de247102 (patch)
tree87029a85c0f9d153e232bbbc52e09d26792d4ebb /src/gui/whoisonline.cpp
parent62da739fc73e269959bbbe8a6b741f50c5e82238 (diff)
downloadmanaverse-7ec8cec84e27c3460c6d51b3c58e0644de247102.tar.gz
manaverse-7ec8cec84e27c3460c6d51b3c58e0644de247102.tar.bz2
manaverse-7ec8cec84e27c3460c6d51b3c58e0644de247102.tar.xz
manaverse-7ec8cec84e27c3460c6d51b3c58e0644de247102.zip
Restore visible state for some windows after restart.
Diffstat (limited to 'src/gui/whoisonline.cpp')
-rw-r--r--src/gui/whoisonline.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/whoisonline.cpp b/src/gui/whoisonline.cpp
index 1e9f686e4..ff855ed05 100644
--- a/src/gui/whoisonline.cpp
+++ b/src/gui/whoisonline.cpp
@@ -95,9 +95,11 @@ WhoIsOnline::WhoIsOnline():
const int w = 200;
setDefaultSize(w, h, ImageRect::CENTER);
// setContentSize(w, h);
+ setVisible(false);
setCloseButton(true);
setResizable(true);
setStickyButtonLock(true);
+ setSaveVisible(true);
mUpdateButton = new Button(_("Update"), "update", this);
mUpdateButton->setEnabled(false);
@@ -563,4 +565,4 @@ void WhoIsOnline::optionChanged(const std::string &name)
{
if (name == "updateOnlineList")
mUpdateOnlineList = config.getBoolValue("updateOnlineList");
-} \ No newline at end of file
+}