summaryrefslogtreecommitdiff
path: root/src/gui/windows/charcreatedialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/charcreatedialog.cpp')
-rw-r--r--src/gui/windows/charcreatedialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/charcreatedialog.cpp b/src/gui/windows/charcreatedialog.cpp
index 4f9c82fe2..3a760e9a3 100644
--- a/src/gui/windows/charcreatedialog.cpp
+++ b/src/gui/windows/charcreatedialog.cpp
@@ -79,7 +79,8 @@ CharCreateDialog::CharCreateDialog(CharSelectDialog *const parent,
ActionListener(),
KeyListener(),
mCharSelectDialog(parent),
- mNameField(new TextField(this, "")),
+ mNameField(new TextField(this, std::string(),
+ LoseFocusOnTab_true, nullptr, std::string(), false)),
// TRANSLATORS: char create dialog label
mNameLabel(new Label(this, _("Name:"))),
mNextHairColorButton(nullptr),