From c01b3f215a9ec7e5ebceac8550c1e18c0a2b7435 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 31 Jan 2012 01:55:31 +0300 Subject: Add size limit to nick in char creation dialog. --- src/gui/charcreatedialog.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/charcreatedialog.cpp') diff --git a/src/gui/charcreatedialog.cpp b/src/gui/charcreatedialog.cpp index 641e07db6..74a5a1f1f 100644 --- a/src/gui/charcreatedialog.cpp +++ b/src/gui/charcreatedialog.cpp @@ -83,6 +83,7 @@ CharCreateDialog::CharCreateDialog(CharSelectDialog *parent, int slot): updateHair(); mNameField = new TextField(""); + mNameField->setMaximum(24); mNameLabel = new Label(_("Name:")); // TRANSLATORS: This is a narrow symbol used to denote 'next'. // You may change this symbol if your language uses another. -- cgit v1.2.3-60-g2f50