From: Rudolf Polzer Date: Thu, 9 Apr 2015 13:02:20 +0000 (+0200) Subject: Don't show a clear textbox button in name entry fields. X-Git-Tag: xonotic-v0.8.1~90 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=343b3afb04b2567653b2901d8661c65c00e2c133;p=xonotic%2Fxonotic-data.pk3dir.git Don't show a clear textbox button in name entry fields. --- diff --git a/qcsrc/menu/xonotic/dialog_firstrun.qc b/qcsrc/menu/xonotic/dialog_firstrun.qc index 9c38e0e04..711cfc5e8 100644 --- a/qcsrc/menu/xonotic/dialog_firstrun.qc +++ b/qcsrc/menu/xonotic/dialog_firstrun.qc @@ -60,6 +60,7 @@ void XonoticFirstRunDialog_fill(entity me) box.forbiddenCharacters = "\r\n\\\"$"; // don't care, isn't getting saved box.maxLength = -127; // negative means encoded length in bytes box.saveImmediately = 1; + box.enableClearButton = 0; label.textEntity = box; me.TR(me); me.TD(me, 5, 1.25, e = makeXonoticColorpicker(box));