From 343b3afb04b2567653b2901d8661c65c00e2c133 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 9 Apr 2015 15:02:20 +0200 Subject: [PATCH] Don't show a clear textbox button in name entry fields. --- qcsrc/menu/xonotic/dialog_firstrun.qc | 1 + 1 file changed, 1 insertion(+) 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)); -- 2.39.2