This commit is contained in:
qianlifeng
2014-02-20 18:26:01 +08:00
parent 4e0ea5f941
commit 5a3669cbe7
2 changed files with 5 additions and 5 deletions

View File

@@ -41,10 +41,10 @@ namespace Wox
{
return GetIcon(resolvedPath);
}
else
{
return new BitmapImage(new Uri(resolvedPath));
}
if(!string.IsNullOrEmpty(path)) return new BitmapImage(new Uri(resolvedPath));
return null;
}
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)