From d510e828546eff6e02726e81468c2b36f76b38f4 Mon Sep 17 00:00:00 2001 From: Pupsi Mupsi <44737997+Pupsi-Mupsi@users.noreply.github.com> Date: Sun, 26 Apr 2020 22:41:36 +0200 Subject: [PATCH] Change line-color to light_red for disabled option (#39934) * Change LineColor to light_red for disabled option * Add option off and fix for translations --- src/options.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/options.cpp b/src/options.cpp index 3d50ac573532b..aa939df391d97 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -2629,7 +2629,8 @@ std::string options_manager::show( bool ingame, const bool world_options_only, if( hasPrerequisite && !hasPrerequisiteFulfilled ) { cLineColor = c_light_gray; - } else if( current_opt.getValue() == "false" ) { + } else if( current_opt.getValue() == "false" || current_opt.getValue() == "disabled" || + current_opt.getValue() == "off" ) { cLineColor = c_light_red; }