summaryrefslogtreecommitdiff
path: root/src/gui/textcommandeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/textcommandeditor.cpp')
-rw-r--r--src/gui/textcommandeditor.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/textcommandeditor.cpp b/src/gui/textcommandeditor.cpp
index 05ad61a5c..f8db77d6d 100644
--- a/src/gui/textcommandeditor.cpp
+++ b/src/gui/textcommandeditor.cpp
@@ -170,26 +170,26 @@ TextCommandEditor::TextCommandEditor(TextCommand *const command) :
mCommand(command),
mIsMagic(new RadioButton(_("magic"), "magic", mIsMagicCommand)),
mIsOther(new RadioButton(_("other"), "magic", !mIsMagicCommand)),
- mSymbolLabel(new Label(_("Symbol:"))),
+ mSymbolLabel(new Label(this, _("Symbol:"))),
mSymbolTextField(new TextField(this)),
- mCommandLabel(new Label(_("Command:"))),
+ mCommandLabel(new Label(this, _("Command:"))),
mCommandTextField(new TextField(this)),
- mCommentLabel(new Label(_("Comment:"))),
+ mCommentLabel(new Label(this, _("Comment:"))),
mCommentTextField(new TextField(this)),
mTargetTypeModel(new TargetTypeModel),
- mTypeLabel(new Label(_("Target Type:"))),
+ mTypeLabel(new Label(this, _("Target Type:"))),
mTypeDropDown(new DropDown(this, mTargetTypeModel)),
mIconsModal(new IconsModal),
- mIconLabel(new Label(_("Icon:"))),
+ mIconLabel(new Label(this, _("Icon:"))),
mIconDropDown(new DropDown(this, mIconsModal)),
- mManaLabel(new Label(_("Mana:"))),
+ mManaLabel(new Label(this, _("Mana:"))),
mManaField(new IntTextField(this, 0)),
- mMagicLvlLabel(new Label(_("Magic level:"))),
+ mMagicLvlLabel(new Label(this, _("Magic level:"))),
mMagicLvlField(new IntTextField(this, 0)),
mMagicSchoolModel(new MagicSchoolModel),
- mSchoolLabel(new Label(_("Magic School:"))),
+ mSchoolLabel(new Label(this, _("Magic School:"))),
mSchoolDropDown(new DropDown(this, mMagicSchoolModel)),
- mSchoolLvlLabel(new Label(_("School level:"))),
+ mSchoolLvlLabel(new Label(this, _("School level:"))),
mSchoolLvlField(new IntTextField(this, 0)),
mCancelButton(new Button(this, _("Cancel"), "cancel", this)),
mSaveButton(new Button(this, _("Save"), "save", this)),