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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/textcommandeditor.cpp b/src/gui/textcommandeditor.cpp
index f8db77d6d..156c6c60d 100644
--- a/src/gui/textcommandeditor.cpp
+++ b/src/gui/textcommandeditor.cpp
@@ -168,8 +168,8 @@ TextCommandEditor::TextCommandEditor(TextCommand *const command) :
gcn::ActionListener(),
mIsMagicCommand(command->getCommandType() == TEXT_COMMAND_MAGIC),
mCommand(command),
- mIsMagic(new RadioButton(_("magic"), "magic", mIsMagicCommand)),
- mIsOther(new RadioButton(_("other"), "magic", !mIsMagicCommand)),
+ mIsMagic(new RadioButton(this, _("magic"), "magic", mIsMagicCommand)),
+ mIsOther(new RadioButton(this, _("other"), "magic", !mIsMagicCommand)),
mSymbolLabel(new Label(this, _("Symbol:"))),
mSymbolTextField(new TextField(this)),
mCommandLabel(new Label(this, _("Command:"))),