mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 11:46:30 +02:00
Add clipboard plugin.
This commit is contained in:
@@ -42,7 +42,10 @@ namespace Wox
|
||||
return GetIcon(resolvedPath);
|
||||
}
|
||||
|
||||
if(!string.IsNullOrEmpty(path)) return new BitmapImage(new Uri(resolvedPath));
|
||||
if (!string.IsNullOrEmpty(resolvedPath) && File.Exists(resolvedPath))
|
||||
{
|
||||
return new BitmapImage(new Uri(resolvedPath));
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user