From: terencehill Date: Fri, 27 Nov 2015 14:34:11 +0000 (+0100) Subject: A few input boxes like the HUD skin filter were setting controlledTextbox but they... X-Git-Tag: xonotic-v0.8.2~1467^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1f6bb8abe6e65fadd5b1a9e73de2f124f738f5db;p=xonotic%2Fxonotic-data.pk3dir.git A few input boxes like the HUD skin filter were setting controlledTextbox but they don't make use of it --- diff --git a/qcsrc/menu/xonotic/dialog_hudsetup_exit.qc b/qcsrc/menu/xonotic/dialog_hudsetup_exit.qc index 59f36326b..63c5e42ec 100644 --- a/qcsrc/menu/xonotic/dialog_hudsetup_exit.qc +++ b/qcsrc/menu/xonotic/dialog_hudsetup_exit.qc @@ -29,7 +29,6 @@ void XonoticHUDExitDialog_fill(entity me) me.TD(me, 1, 2.9, e = makeXonoticInputBox(0, string_null)); e.onChange = HUDSkinList_Filter_Change; e.onChangeEntity = hudskinlist; - hudskinlist.controlledTextbox = e; me.TR(me); me.TD(me, 12, 4, hudskinlist); me.gotoRC(me, me.rows - 4, 0); diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_create.qc b/qcsrc/menu/xonotic/dialog_multiplayer_create.qc index f165d9923..689a8f630 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_create.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_create.qc @@ -185,7 +185,6 @@ void XonoticServerCreateTab_fill(entity me) e.onChange = MapList_StringFilterBox_Change; e.keyDown = MapList_StringFilterBox_keyDown; e.onChangeEntity = me.mapListBox; - me.mapListBox.controlledTextbox = e; me.gotoRC(me, me.rows - 3.5, me.firstColumn); // the selection buttons diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_media_demo.qc b/qcsrc/menu/xonotic/dialog_multiplayer_media_demo.qc index d48ad77d5..b7f3884a8 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_media_demo.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_media_demo.qc @@ -50,7 +50,6 @@ void XonoticDemoBrowserTab_fill(entity me) me.TD(me, 1, 2.9, e = makeXonoticInputBox(0, string_null)); e.onChange = DemoList_Filter_Change; e.onChangeEntity = demolist; - demolist.controlledTextbox = e; me.gotoRC(me, 0, 3.7); me.TD(me, 1, 1.5, e = makeXonoticCheckBox(0, "cl_autodemo", _("Auto record demos"))); diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_media_musicplayer.qc b/qcsrc/menu/xonotic/dialog_multiplayer_media_musicplayer.qc index d78b5b657..9346dfdbd 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_media_musicplayer.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_media_musicplayer.qc @@ -31,7 +31,6 @@ void XonoticMusicPlayerTab_fill(entity me) soundList = makeXonoticSoundList(); e.onChange = SoundList_Filter_Change; e.onChangeEntity = soundList; - soundList.controlledTextbox = e; playList = makeXonoticPlayList(); soundList.playlist = playList;