This commit is contained in:
bao-qian
2015-11-02 13:43:19 +00:00
parent 89dc9e7e7f
commit c9edc217fd
3 changed files with 8 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ namespace Wox.ImageLoader
if (!imageCache.ContainsKey(image.Key))
{
KeyValuePair<string, int> copyedImg = image;
App.Window.Dispatcher.Invoke(new Action(() => imageCache.Add(copyedImg.Key, img)));
imageCache.Add(copyedImg.Key, img);
}
}
}