summaryrefslogtreecommitdiff
path: root/src/gui/windows/textcommandeditor.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/textcommandeditor.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/textcommandeditor.cpp')
-rw-r--r--src/gui/windows/textcommandeditor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/textcommandeditor.cpp b/src/gui/windows/textcommandeditor.cpp
index 2210b2870..62ffc36f8 100644
--- a/src/gui/windows/textcommandeditor.cpp
+++ b/src/gui/windows/textcommandeditor.cpp
@@ -86,17 +86,17 @@ TextCommandEditor::TextCommandEditor(TextCommand *const command) :
#ifdef TMWA_SUPPORT
// TRANSLATORS: command editor label
mManaLabel(new Label(this, _("Mana:"))),
- mManaField(new IntTextField(this, 0)),
+ mManaField(new IntTextField(this, 0, 0, 0, Enable_true, 0)),
// TRANSLATORS: command editor label
mMagicLvlLabel(new Label(this, _("Magic level:"))),
- mMagicLvlField(new IntTextField(this, 0)),
+ mMagicLvlField(new IntTextField(this, 0, 0, 0, Enable_true, 0)),
mMagicSchoolModel(new MagicSchoolModel),
// TRANSLATORS: command editor label
mSchoolLabel(new Label(this, _("Magic School:"))),
mSchoolDropDown(new DropDown(this, mMagicSchoolModel)),
// TRANSLATORS: command editor label
mSchoolLvlLabel(new Label(this, _("School level:"))),
- mSchoolLvlField(new IntTextField(this, 0)),
+ mSchoolLvlField(new IntTextField(this, 0, 0, 0, Enable_true, 0)),
#endif // TMWA_SUPPORT
// TRANSLATORS: command editor button
mCancelButton(new Button(this, _("Cancel"), "cancel", this)),