diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-20 01:45:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 13:55:43 +0300 |
commit | f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8 (patch) | |
tree | 8ab383dce47ed689137addbac041ef1f9e300faf /src/gui/buydialog.cpp | |
parent | 5d02ab43ff6d3e328a3b02479c033609023edec2 (diff) | |
download | plus-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.tar.gz plus-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.tar.bz2 plus-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.tar.xz plus-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.zip |
Add palette inheritance to textfield class.
Diffstat (limited to 'src/gui/buydialog.cpp')
-rw-r--r-- | src/gui/buydialog.cpp | 2 |
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); |