mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix default icon path when add new web search
This commit is contained in:
parent
ba1e22955e
commit
e8c142353c
1 changed files with 6 additions and 2 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue