From 1f6bb8abe6e65fadd5b1a9e73de2f124f738f5db Mon Sep 17 00:00:00 2001 From: terencehill Date: Fri, 27 Nov 2015 15:34:11 +0100 Subject: [PATCH] A few input boxes like the HUD skin filter were setting controlledTextbox but they don't make use of it --- qcsrc/menu/xonotic/dialog_hudsetup_exit.qc | 1 - qcsrc/menu/xonotic/dialog_multiplayer_create.qc | 1 - qcsrc/menu/xonotic/dialog_multiplayer_media_demo.qc | 1 - qcsrc/menu/xonotic/dialog_multiplayer_media_musicplayer.qc | 1 - 4 files changed, 4 deletions(-) diff --git a/qcsrc/menu/xonotic/dialog_hudsetup_exit.qc b/qcsrc/menu/xonotic/dialog_hudsetup_exit.qc index 59f36326b1..63c5e42ec0 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 f165d99238..689a8f6308 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 d48ad77d54..b7f3884a80 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 d78b5b6575..9346dfdbd5 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; -- 2.39.2