summaryrefslogtreecommitdiff
path: root/src/gui/buydialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/buydialog.cpp')
-rw-r--r--src/gui/buydialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/buydialog.cpp b/src/gui/buydialog.cpp
index 515ffafd6..94305c9a0 100644
--- a/src/gui/buydialog.cpp
+++ b/src/gui/buydialog.cpp
@@ -90,7 +90,7 @@ void BuyDialog::init()
mQuantityLabel->setAlignment(gcn::Graphics::CENTER);
mMoneyLabel = new Label(strprintf(_("Price: %s / Total: %s"), "", ""));
- mAmountField = new IntTextField(1, 1, 123);
+ mAmountField = new IntTextField(this, 1, 1, 123);
mAmountField->setActionEventId("amount");
mAmountField->addActionListener(this);
mAmountField->setSendAlwaysEvents(true);