summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-10-28 18:38:33 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-10-28 18:38:33 +0000
commitf924885ea0db5842b080610ec63e61a4bcc2a30c (patch)
tree5b12313211e206dcbb94436c704b541cbcadab54
parent62a5f6b90c447a73bf0459443a909cbec71dcb25 (diff)
downloadmana-f924885ea0db5842b080610ec63e61a4bcc2a30c.tar.gz
mana-f924885ea0db5842b080610ec63e61a4bcc2a30c.tar.bz2
mana-f924885ea0db5842b080610ec63e61a4bcc2a30c.tar.xz
mana-f924885ea0db5842b080610ec63e61a4bcc2a30c.zip
Fixed trade window being visible on client startup when it was visible on
shutdown. Thanks to Trelos for looking into this problem.
-rw-r--r--ChangeLog5
-rw-r--r--src/game.cpp1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 34d27d69..33a9fa50 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-28 Bjørn Lindeijer <bjorn@lindeijer.nl>
+
+ * src/game.cpp: Fixed trade window being visible on client startup
+ when it was visible on shutdown.
+
2008-10-26 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/net/beinghandler.cpp: Since we somehow did end up depending on a
diff --git a/src/game.cpp b/src/game.cpp
index aaf5242c..3e3cb4b5 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -221,6 +221,7 @@ void createGuiWindows(Network *network)
true));
buyDialog->setVisible(false);
sellDialog->setVisible(false);
+ tradeWindow->setVisible(false);
menuWindow->setVisible((bool) config.getValue(
menuWindow->getWindowName() + "Visible", true));
itemShortcutWindow->setVisible((bool) config.getValue(