summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcdialog.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/npcdialog.cpp
parent49ab9391a9d49580603858b1222dd39542111583 (diff)
downloadmanaverse-ea40cd4fa5e65698cbabb3649e2d5641f47df265.tar.gz
manaverse-ea40cd4fa5e65698cbabb3649e2d5641f47df265.tar.bz2
manaverse-ea40cd4fa5e65698cbabb3649e2d5641f47df265.tar.xz
manaverse-ea40cd4fa5e65698cbabb3649e2d5641f47df265.zip
Remove default parameters from inttextfield.
Diffstat (limited to 'src/gui/windows/npcdialog.cpp')
-rw-r--r--src/gui/windows/npcdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp
index bb770d1e0..c59d66b48 100644
--- a/src/gui/windows/npcdialog.cpp
+++ b/src/gui/windows/npcdialog.cpp
@@ -121,7 +121,7 @@ NpcDialog::NpcDialog(const BeingId npcId) :
"npc_listbackground.xml")),
mItemLinkHandler(new ItemLinkHandler),
mTextField(new TextField(this, "")),
- mIntField(new IntTextField(this)),
+ mIntField(new IntTextField(this, 0, 0, 0, Enable_true, 0)),
// TRANSLATORS: npc dialog button
mPlusButton(new Button(this, _("+"), "inc", this)),
// TRANSLATORS: npc dialog button