Don't show a clear textbox button in name entry fields.
authorRudolf Polzer <divVerent@xonotic.org>
Thu, 9 Apr 2015 13:02:20 +0000 (15:02 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Thu, 9 Apr 2015 13:02:20 +0000 (15:02 +0200)
qcsrc/menu/xonotic/dialog_firstrun.qc

index 9c38e0e..711cfc5 100644 (file)
@@ -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));