From eb6b6ff333dc23143c7ea82b2da0862640521110 Mon Sep 17 00:00:00 2001 From: kilbith Date: Thu, 15 Jan 2015 20:17:54 +0100 Subject: [PATCH] Add missing return value for filter/mipmap dropdown in mainmenu --- builtin/mainmenu/tab_settings.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/builtin/mainmenu/tab_settings.lua b/builtin/mainmenu/tab_settings.lua index bc27da87e..44e82c2eb 100644 --- a/builtin/mainmenu/tab_settings.lua +++ b/builtin/mainmenu/tab_settings.lua @@ -343,26 +343,32 @@ local function handle_settings_buttons(this, fields, tabname, tabdata) if fields["dd_filters"] == "No Filter" then core.setting_set("bilinear_filter", "false") core.setting_set("trilinear_filter", "false") + ddhandled = true end if fields["dd_filters"] == "Bilinear Filter" then core.setting_set("bilinear_filter", "true") core.setting_set("trilinear_filter", "false") + ddhandled = true end if fields["dd_filters"] == "Trilinear Filter" then core.setting_set("bilinear_filter", "false") core.setting_set("trilinear_filter", "true") + ddhandled = true end if fields["dd_mipmap"] == "No Mipmap" then core.setting_set("mip_map", "false") core.setting_set("anisotropic_filter", "false") + ddhandled = true end if fields["dd_mipmap"] == "Mipmap" then core.setting_set("mip_map", "true") core.setting_set("anisotropic_filter", "false") + ddhandled = true end if fields["dd_mipmap"] == "Mipmap + Aniso. Filter" then core.setting_set("mip_map", "true") core.setting_set("anisotropic_filter", "true") + ddhandled = true end return ddhandled -- 2.25.1