diff options
author | jurkan <jurkan@gmx.de> | 2012-07-09 22:51:32 +0200 |
---|---|---|
committer | jurkan <jurkan@gmx.de> | 2012-07-09 22:51:32 +0200 |
commit | 6fb4a7f6e0b793a0d3033e1ffdc31c115c8313eb (patch) | |
tree | c1c719de781b3190e70cc6eeb5cd416757e5885c /src | |
parent | 49f3d93a5f6033a0bb26b3e40728e4e3b8cda414 (diff) | |
download | mana-client-6fb4a7f6e0b793a0d3033e1ffdc31c115c8313eb.tar.gz mana-client-6fb4a7f6e0b793a0d3033e1ffdc31c115c8313eb.tar.bz2 mana-client-6fb4a7f6e0b793a0d3033e1ffdc31c115c8313eb.tar.xz mana-client-6fb4a7f6e0b793a0d3033e1ffdc31c115c8313eb.zip |
Fixed gender to male only
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/charcreatedialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/charcreatedialog.cpp b/src/gui/charcreatedialog.cpp index 8fee148b..a36dfadf 100644 --- a/src/gui/charcreatedialog.cpp +++ b/src/gui/charcreatedialog.cpp @@ -148,6 +148,7 @@ CharCreateDialog::CharCreateDialog(CharSelectDialog *parent, int slot): center(); setVisible(true); mNameField->requestFocus(); + setFixedGender(true, GENDER_MALE); } CharCreateDialog::~CharCreateDialog() @@ -359,6 +360,8 @@ void CharCreateDialog::setFixedGender(bool fixed, Gender gender) if (fixed) { mMale->setEnabled(false); + mMale->setVisible(false); + mFemale->setVisible(false); mFemale->setEnabled(false); } } |