提交 444c7a4a 编写于 作者: J Josh Stevens 提交者: Jason Malinowski

Don't create OptionKeys with language names if the option isn't per-language

上级 b24605c8
......@@ -77,7 +77,7 @@ private Task OnSettingChangedAsync(object sender, PropertyChangedEventArgs args)
private void SetChangedOption(IOptionService optionService, IOption option, string languageName)
{
OptionKey key = new OptionKey(option, languageName);
OptionKey key = new OptionKey(option, option.IsPerLanguage ? languageName : null);
object currentValue;
if (this.TryFetch(key, out currentValue))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册