mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Accomodate for non-exitent settings value
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user