This commit is contained in:
clueless 2020-01-25 00:12:32 +02:00
parent 07310c7714
commit beefc6a86e
2 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,7 @@ namespace Wox.Infrastructure.UserSettings
internal StringMatcher.SearchPrecisionScore QuerySearchPrecision { get; private set; } = StringMatcher.SearchPrecisionScore.Regular;
[JsonIgnore]
public string QuerySearchPrecisionString
{
get { return QuerySearchPrecision.ToString(); }

View File

@ -57,7 +57,8 @@ namespace Wox
_settings = _settingsVM.Settings;
_alphabet.Initialize(_settings);
StringMatcher.Instance = new StringMatcher(_alphabet);
_stringMatcher = new StringMatcher(_alphabet);
StringMatcher.Instance = _stringMatcher;
_stringMatcher.UserSettingSearchPrecision = _settings.QuerySearchPrecision;
PluginManager.LoadPlugins(_settings.PluginSettings);