From 81145e509cdba68c94c4173e16ddd492cd813db8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Dec 2017 19:34:40 +0300 Subject: Remove default parameters from textfield. --- src/gui/windows/charcreatedialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/windows/charcreatedialog.cpp') 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), -- cgit v1.2.3-70-g09d2