mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-15 11:17:53 +01:00
Fix settings UpgradeConfiguration code path (#6839)
This commit is contained in:
@@ -72,7 +72,7 @@ namespace Microsoft.PowerToys.Settings.UI.Lib
|
|||||||
T deserializedSettings = GetFile<T>(powertoy, fileName);
|
T deserializedSettings = GetFile<T>(powertoy, fileName);
|
||||||
|
|
||||||
// IF the file needs to be modified, to save the new configurations accordingly.
|
// IF the file needs to be modified, to save the new configurations accordingly.
|
||||||
if (!deserializedSettings.UpgradeSettingsConfiguration())
|
if (deserializedSettings.UpgradeSettingsConfiguration())
|
||||||
{
|
{
|
||||||
SaveSettings(deserializedSettings.ToJsonString(), powertoy, fileName);
|
SaveSettings(deserializedSettings.ToJsonString(), powertoy, fileName);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user