mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-21 00:14:15 +08:00
Merge branch 'master' into dotnet45
This commit is contained in:
commit
e29f53a82d
@ -257,6 +257,8 @@ namespace Wox.Core.Plugin
|
|||||||
string msg = InternationalizationManager.Instance.GetTranslation("newActionKeywordsCannotBeEmpty");
|
string msg = InternationalizationManager.Instance.GetTranslation("newActionKeywordsCannotBeEmpty");
|
||||||
throw new WoxPluginException(plugin.Metadata.Name, msg);
|
throw new WoxPluginException(plugin.Metadata.Name, msg);
|
||||||
}
|
}
|
||||||
|
// do nothing if they are same
|
||||||
|
if (oldActionKeyword == newActionKeyword) return;
|
||||||
if (NonGlobalPlugins.ContainsKey(newActionKeyword))
|
if (NonGlobalPlugins.ContainsKey(newActionKeyword))
|
||||||
{
|
{
|
||||||
string msg = InternationalizationManager.Instance.GetTranslation("newActionKeywordsHasBeenAssigned");
|
string msg = InternationalizationManager.Instance.GetTranslation("newActionKeywordsHasBeenAssigned");
|
||||||
|
Loading…
Reference in New Issue
Block a user