mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
Fix default icon path when add new web search
This commit is contained in:
@@ -19,16 +19,20 @@ namespace Wox.Plugin.WebSearch
|
||||
get { return _icon; }
|
||||
set
|
||||
{
|
||||
_icon = value;
|
||||
_icon = value;
|
||||
IconPath = Path.Combine(WebSearchPlugin.PluginDirectory, WebSearchPlugin.ImageDirectory, value);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// All icon should be put under Images directory
|
||||
/// </summary>
|
||||
[NotNull]
|
||||
[JsonIgnore]
|
||||
internal string IconPath { get; private set; }
|
||||
internal string IconPath { get; private set; } = Path.Combine
|
||||
(
|
||||
WebSearchPlugin.PluginDirectory, WebSearchPlugin.ImageDirectory, DefaultIcon
|
||||
);
|
||||
|
||||
public string Url { get; set; }
|
||||
public bool Enabled { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user