From 69e5a0448ee7b3e6795ee8aa64b4b40540680378 Mon Sep 17 00:00:00 2001 From: Carsten Braun Date: Tue, 16 May 2023 13:30:08 +0200 Subject: [PATCH] Accomodate for non-exitent settings value --- app/Settings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Settings.cs b/app/Settings.cs index 3a796f8e..32a51e5e 100644 --- a/app/Settings.cs +++ b/app/Settings.cs @@ -1286,7 +1286,7 @@ namespace GHelper AutoFans(); AutoPower(1000); - if (Program.config.getConfigPerf("auto_apply_power_plan") == 1) + if (Program.config.getConfigPerf("auto_apply_power_plan") != 0) { if (Program.config.getConfigPerfString("scheme") is not null) NativeMethods.SetPowerScheme(Program.config.getConfigPerfString("scheme"));