mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-19 06:53:26 +08:00
Fix a crash issue.
This commit is contained in:
parent
50f6044a2f
commit
61dc148d34
@ -98,7 +98,7 @@ namespace Wox.ImageLoader
|
||||
{
|
||||
img = new BitmapImage(new Uri(path));
|
||||
}
|
||||
else if (selfExts.Contains(ext))
|
||||
else if (selfExts.Contains(ext) && File.Exists(path))
|
||||
{
|
||||
img = GetIcon(path);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user