From d024f8eff4c6ffdd3a001bf3c202e8f29e01bdb9 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Tue, 25 May 2021 22:20:22 +1000 Subject: [PATCH 1/4] fix loading when no action keywords present for a plugin in userdata --- Flow.Launcher.Infrastructure/UserSettings/PluginSettings.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Flow.Launcher.Infrastructure/UserSettings/PluginSettings.cs b/Flow.Launcher.Infrastructure/UserSettings/PluginSettings.cs index 29bc11480..dd768afb4 100644 --- a/Flow.Launcher.Infrastructure/UserSettings/PluginSettings.cs +++ b/Flow.Launcher.Infrastructure/UserSettings/PluginSettings.cs @@ -30,6 +30,11 @@ namespace Flow.Launcher.Infrastructure.UserSettings metadata.ActionKeywords = settings.ActionKeywords; metadata.ActionKeyword = settings.ActionKeywords[0]; } + else + { + metadata.ActionKeywords = new List(); + metadata.ActionKeyword = string.Empty; + } metadata.Disabled = settings.Disabled; metadata.Priority = settings.Priority; } From e06cf9cf6fada1a7bc6645d4d2d9652eccc08ae3 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Wed, 26 May 2021 08:38:55 +1000 Subject: [PATCH 2/4] add tool tip to explain functionality --- Plugins/Flow.Launcher.Plugin.Program/Languages/en.xaml | 3 +++ .../Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml | 6 +++--- Plugins/Flow.Launcher.Plugin.Program/plugin.json | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Program/Languages/en.xaml b/Plugins/Flow.Launcher.Plugin.Program/Languages/en.xaml index ce84aa65b..e00534367 100644 --- a/Plugins/Flow.Launcher.Plugin.Program/Languages/en.xaml +++ b/Plugins/Flow.Launcher.Plugin.Program/Languages/en.xaml @@ -13,8 +13,11 @@ Reindex Indexing Index Start Menu + When enabled, Flow will load programs from the start menu Index Registry + When enabled, Flow will load programs from the registry Enable Program Description + Disabling this will also stop Flow from searching via the program desciption Suffixes Max Depth diff --git a/Plugins/Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml b/Plugins/Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml index 45f2a609d..8712cdb83 100644 --- a/Plugins/Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml +++ b/Plugins/Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml @@ -16,9 +16,9 @@ - - - + + +