From 14da9f168060187ec433d1201003e7e6899240ad Mon Sep 17 00:00:00 2001 From: BuddyFriendGuy Date: Fri, 12 Jun 2015 19:26:07 -0400 Subject: [PATCH] disable the Public Server address bar --- qcsrc/menu/xonotic/dialog_multiplayer_join_public.qc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_join_public.qc b/qcsrc/menu/xonotic/dialog_multiplayer_join_public.qc index 87307003e..c0e3b9256 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_join_public.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_join_public.qc @@ -60,6 +60,8 @@ void XonoticServerListTab_fill(entity me) me.gotoRC(me, me.rows - 2, 0); me.TD(me, 1, 0.6, e = makeXonoticTextLabel(0, _("Address:"))); me.TD(me, 1, 2.9, e = makeXonoticInputBox(0, string_null)); + // make this a readonly textbox; the customizable address function is moved to Private Server section + e.disabled = true; e.tooltip = getZonedTooltipForIdentifier("XonoticMultiplayerDialog/Public/Address"); e.onEnter = ServerList_Connect_Click; e.onEnterEntity = slist; -- 2.39.2