summaryrefslogtreecommitdiff
path: root/src/gui/buy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/buy.cpp')
-rw-r--r--src/gui/buy.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/buy.cpp b/src/gui/buy.cpp
index a948b136..008c7bb9 100644
--- a/src/gui/buy.cpp
+++ b/src/gui/buy.cpp
@@ -40,6 +40,7 @@ BuyDialog::BuyDialog():
Window(_("Buy")),
mMoney(0), mAmountItems(0), mMaxItems(0)
{
+ setWindowName("Buy");
setResizable(true);
setMinWidth(260);
setMinHeight(230);
@@ -85,7 +86,7 @@ BuyDialog::BuyDialog():
Layout &layout = getLayout();
layout.setRowHeight(0, Layout::AUTO_SET);
- loadWindowState("Buy");
+ loadWindowState();
setLocationRelativeTo(getParent());
}