mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 11:16:51 +02:00
Fix added websearch twice issue.
This commit is contained in:
@@ -36,6 +36,8 @@ namespace Wox.Infrastructure.Storage
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void LoadDefaultConfig() { }
|
||||
|
||||
private void Load()
|
||||
{
|
||||
string configPath = Path.Combine(configFolder, ConfigName + fileSuffix);
|
||||
@@ -55,8 +57,13 @@ namespace Wox.Infrastructure.Storage
|
||||
catch (Exception)
|
||||
{
|
||||
//no-op
|
||||
LoadDefaultConfig();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
LoadDefaultConfig();
|
||||
}
|
||||
}
|
||||
|
||||
public void Save()
|
||||
|
||||
Reference in New Issue
Block a user