From 015b14f8e60d64da2999da9c753af62ec1ffdf72 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Oct 2012 02:37:02 +0300 Subject: Add palette inheritance to radiobutton class. --- src/gui/textcommandeditor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/textcommandeditor.cpp') 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:"))), -- cgit v1.2.3-70-g09d2