From ea40cd4fa5e65698cbabb3649e2d5641f47df265 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Dec 2017 19:02:19 +0300 Subject: Remove default parameters from inttextfield. --- src/gui/windows/npcdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/windows/npcdialog.cpp') 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 -- cgit v1.2.3-70-g09d2