Fix unremoved resource bug #711

This commit is contained in:
bao-qian
2017-02-19 23:29:13 +00:00
parent 2e01153363
commit d62458b07b
4 changed files with 24 additions and 12 deletions

View File

@@ -86,9 +86,10 @@ namespace Wox.Core.Resource
public override ResourceDictionary GetResourceDictionary()
{
var uri = GetLanguageFile(DirectoryPath);
var dictionary = new ResourceDictionary
{
Source = new Uri(GetLanguageFile(DirectoryPath), UriKind.Absolute)
Source = new Uri(uri, UriKind.Absolute)
};
return dictionary;
}