summaryrefslogtreecommitdiff
path: root/src/gui/charcreatedialog.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/charcreatedialog.cpp
parentb6b4ea19929e7e67d987041aa129366f4fed3a6d (diff)
downloadplus-015b14f8e60d64da2999da9c753af62ec1ffdf72.tar.gz
plus-015b14f8e60d64da2999da9c753af62ec1ffdf72.tar.bz2
plus-015b14f8e60d64da2999da9c753af62ec1ffdf72.tar.xz
plus-015b14f8e60d64da2999da9c753af62ec1ffdf72.zip
Add palette inheritance to radiobutton class.
Diffstat (limited to 'src/gui/charcreatedialog.cpp')
-rw-r--r--src/gui/charcreatedialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/charcreatedialog.cpp b/src/gui/charcreatedialog.cpp
index 560f565f4..5dc856da5 100644
--- a/src/gui/charcreatedialog.cpp
+++ b/src/gui/charcreatedialog.cpp
@@ -86,9 +86,9 @@ CharCreateDialog::CharCreateDialog(CharSelectDialog *const parent,
mHairStyleNameLabel(new Label(this, "")),
mActionButton(new Button(this, _("^"), "action", this)),
mRotateButton(new Button(this, _(">"), "rotate", this)),
- mMale(new RadioButton(_("Male"), "gender")),
- mFemale(new RadioButton(_("Female"), "gender")),
- mOther(new RadioButton(_("Other"), "gender")),
+ mMale(new RadioButton(this, _("Male"), "gender")),
+ mFemale(new RadioButton(this, _("Female"), "gender")),
+ mOther(new RadioButton(this, _("Other"), "gender")),
mAttributesLeft(new Label(this,
strprintf(_("Please distribute %d points"), 99))),
mMaxPoints(0),