summaryrefslogtreecommitdiff
path: root/src/gui/windows/buydialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-26 19:02:19 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-26 19:02:19 +0300
commitea40cd4fa5e65698cbabb3649e2d5641f47df265 (patch)
tree71008ed2918993214b1044cbeb1f5dd1944b30d2 /src/gui/windows/buydialog.cpp
parent49ab9391a9d49580603858b1222dd39542111583 (diff)
downloadmv-ea40cd4fa5e65698cbabb3649e2d5641f47df265.tar.gz
mv-ea40cd4fa5e65698cbabb3649e2d5641f47df265.tar.bz2
mv-ea40cd4fa5e65698cbabb3649e2d5641f47df265.tar.xz
mv-ea40cd4fa5e65698cbabb3649e2d5641f47df265.zip
Remove default parameters from inttextfield.
Diffstat (limited to 'src/gui/windows/buydialog.cpp')
-rw-r--r--src/gui/windows/buydialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/buydialog.cpp b/src/gui/windows/buydialog.cpp
index 14e3aabe0..901b8f199 100644
--- a/src/gui/windows/buydialog.cpp
+++ b/src/gui/windows/buydialog.cpp
@@ -317,7 +317,7 @@ void BuyDialog::init()
// TRANSLATORS: buy dialog label
_("Price: %s / Total: %s"), "", ""));
- mAmountField = new IntTextField(this, 1, 1, 123);
+ mAmountField = new IntTextField(this, 1, 1, 123, Enable_true, 0);
mAmountField->setActionEventId("amount");
mAmountField->addActionListener(this);
mAmountField->setSendAlwaysEvents(true);