From 253bec46cb4e242824a5a1bc6b7bd67f7aef1798 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 26 Feb 2022 11:18:57 +0100 Subject: [PATCH] fixed some settings incorrectly showing a warning on editing (this also brings back the 'play music when out of focus' option) --- config.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/config.cpp b/config.cpp index 8faf985b..635e9ecf 100644 --- a/config.cpp +++ b/config.cpp @@ -152,6 +152,7 @@ struct int_setting : public setting { void show_edit_option(char key) override; cld get_cld() override { return *value; } int_setting *editable(int min_value, int max_value, ld step, string menu_item_name, string help_text, char key) { + this->is_editable = true; this->min_value = min_value; this->max_value = max_value; this->menu_item_name = menu_item_name;