This commit is contained in:
qianlifeng
2014-03-20 19:12:36 +08:00
4 changed files with 6 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ namespace Wox
public class ImagePathConverter : IMultiValueConverter
{
private static Dictionary<string, object> imageCache = new Dictionary<string, object>();
private static List<string> imageExts = new List<string>() { ".png", ".jpg", ".jpeg", ".gif", ".bmp", ".tiff" };
private static List<string> imageExts = new List<string>() { ".png", ".jpg", ".jpeg", ".gif", ".bmp", ".tiff", ".ico" };
private static ImageSource GetIcon(string fileName)
{