mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
Fix a crash issue.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user