]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
disable the Public Server address bar BuddyFriendGuy/addPrivateServerMenu
authorBuddyFriendGuy <bfggeneral@gmail.com>
Fri, 12 Jun 2015 23:26:07 +0000 (19:26 -0400)
committerBuddyFriendGuy <bfggeneral@gmail.com>
Fri, 12 Jun 2015 23:26:07 +0000 (19:26 -0400)
qcsrc/menu/xonotic/dialog_multiplayer_join_public.qc

index 87307003e885e43452c006f7cc14bc0a86ff2b40..c0e3b92561edf5079dbbea640db2659f7a16a0c3 100644 (file)
@@ -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;