From: terencehill Date: Fri, 11 Dec 2015 00:33:48 +0000 (+0100) Subject: Set applyButton of the correct entity X-Git-Tag: xonotic-v0.8.2~1213^2~4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9084e1f2425ba99636c7bdcfa93d86e7a0843eb2;p=xonotic%2Fxonotic-data.pk3dir.git Set applyButton of the correct entity --- diff --git a/qcsrc/menu/xonotic/dialog_settings_audio.qc b/qcsrc/menu/xonotic/dialog_settings_audio.qc index d44008a5d..775203a1c 100644 --- a/qcsrc/menu/xonotic/dialog_settings_audio.qc +++ b/qcsrc/menu/xonotic/dialog_settings_audio.qc @@ -101,7 +101,7 @@ void XonoticAudioSettingsTab_fill(entity me) setDependentStringNotEqual(s, "mastervolume", "0"); me.TR(me); me.TR(me); - me.TD(me, 1, 3, makeXonoticCheckBox(0, "menu_snd_attenuation_method", _("New style sound attenuation"))); + me.TD(me, 1, 3, e = makeXonoticCheckBox(0, "menu_snd_attenuation_method", _("New style sound attenuation"))); e.applyButton = audioApplyButton; me.TR(me); me.TD(me, 1, 3, makeXonoticCheckBox(0, "snd_mutewhenidle", _("Mute sounds when not active")));