mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
fix #1397 action keywords should not be set to empty string
This commit is contained in:
parent
d3169b10f8
commit
83282ebcb8
1 changed files with 1 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ namespace Wox
|
|||
{
|
||||
var oldActionKeyword = _plugin.Metadata.ActionKeywords[0];
|
||||
var newActionKeyword = tbAction.Text.Trim();
|
||||
newActionKeyword = newActionKeyword.Length > 0 ? newActionKeyword : "*";
|
||||
if (!PluginManager.ActionKeywordRegistered(newActionKeyword))
|
||||
{
|
||||
var id = _plugin.Metadata.ID;
|
||||
|
|
|
|||
Loading…
Reference in a new issue