[FileLocksmith][PowerRename]Fix regression by reloading module settings (#32192)

This commit is contained in:
Stefan Markovic
2024-04-02 22:18:41 +02:00
committed by GitHub
parent b31eaf3a0b
commit 7b89482b94
3 changed files with 14 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ public:
return true;
if (gpoSetting == powertoys_gpo::gpo_rule_configured_disabled)
return false;
Reload();
RefreshEnabledState();
return settings.enabled;
}