summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--src/gui/trade.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b8334e4..00132908 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -23,6 +23,7 @@
leak in equipment sound.
* src/resources/action.cpp: Fixed double-free of sprite actions.
* data/maps/new_1-1.tmx: Added back a Lua script for testing.
+ * src/gui/trade.cpp: Added persistent positioning.
2007-10-20 Guillaume Melquiond <guillaume.melquiond@gmail.com>
diff --git a/src/gui/trade.cpp b/src/gui/trade.cpp
index cf3ad1a5..add7b76e 100644
--- a/src/gui/trade.cpp
+++ b/src/gui/trade.cpp
@@ -98,6 +98,8 @@ TradeWindow::TradeWindow():
add(mMoneyField);
add(mMoneyLabel);
+ loadWindowState("Trade");
+
gcn::Rectangle area = getChildrenArea();
int width = area.width;
int height = area.height;