summaryrefslogtreecommitdiff
path: root/src/gui/textcommandeditor.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 02:37:02 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:43 +0300
commit015b14f8e60d64da2999da9c753af62ec1ffdf72 (patch)
tree5a96c0573d7065fc4a3c87bf727c0645946c1222 /src/gui/textcommandeditor.cpp
parentb6b4ea19929e7e67d987041aa129366f4fed3a6d (diff)
downloadmv-015b14f8e60d64da2999da9c753af62ec1ffdf72.tar.gz
mv-015b14f8e60d64da2999da9c753af62ec1ffdf72.tar.bz2
mv-015b14f8e60d64da2999da9c753af62ec1ffdf72.tar.xz
mv-015b14f8e60d64da2999da9c753af62ec1ffdf72.zip
Add palette inheritance to radiobutton class.
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:"))),