summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--src/game.cpp2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 806ef62d..612624a0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-07-24 Eugenio Favalli <elvenprogrammer@themanaworld.org>
+
+ * src/game.cpp: Fixed visibility of buy and sell dialogs.
+
2008-07-23 Eugenio Favalli <elvenprogrammer@themanaworld.org>
* src/game.cpp, src/gui/buy.cpp, src/gui/itemshortcutwindow.cpp,
diff --git a/src/game.cpp b/src/game.cpp
index 3489257a..0773b8e7 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -217,6 +217,8 @@ void createGuiWindows(Network *network)
miniStatusWindow->setVisible((bool) config.getValue(
miniStatusWindow->getWindowName() + "Visible",
true));
+ buyDialog->setVisible(false);
+ sellDialog->setVisible(false);
menuWindow->setVisible((bool) config.getValue(
menuWindow->getWindowName() + "Visible", true));
itemShortcutWindow->setVisible((bool) config.getValue(