display plugin icons in 'activate plugin' query

This commit is contained in:
Ioannis G
2014-12-09 17:42:20 +02:00
parent 217a7a34f8
commit b489e54da4
2 changed files with 4 additions and 2 deletions

View File

@@ -52,7 +52,9 @@ namespace Wox.Plugin
{
get
{
if (string.IsNullOrEmpty(IcoPath)) return string.Empty;
// Return the default icon if IcoPath is empty
if (string.IsNullOrEmpty(IcoPath))
return Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Images\\work.png");
if (IcoPath.StartsWith("data:"))
{