mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Merge pull request #609 from Flow-Launcher/fix_pluginsmanager_contextmenu
Fix PluginsManager context menu crashing
This commit is contained in:
commit
8f5848fadc
3 changed files with 10 additions and 3 deletions
|
|
@ -17,7 +17,8 @@ namespace Flow.Launcher.Plugin.PluginsManager
|
|||
|
||||
public List<Result> LoadContextMenus(Result selectedResult)
|
||||
{
|
||||
var pluginManifestInfo = selectedResult.ContextData as UserPlugin;
|
||||
if(selectedResult.ContextData is not UserPlugin pluginManifestInfo)
|
||||
return new List<Result>();
|
||||
|
||||
return new List<Result>
|
||||
{
|
||||
|
|
|
|||
|
|
@ -269,7 +269,13 @@ namespace Flow.Launcher.Plugin.PluginsManager
|
|||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
},
|
||||
ContextData =
|
||||
new UserPlugin
|
||||
{
|
||||
Website = x.PluginNewUserPlugin.Website,
|
||||
UrlSourceCode = x.PluginNewUserPlugin.UrlSourceCode
|
||||
}
|
||||
});
|
||||
|
||||
return Search(results, uninstallSearch);
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
"Name": "Plugins Manager",
|
||||
"Description": "Management of installing, uninstalling or updating Flow Launcher plugins",
|
||||
"Author": "Jeremy Wu",
|
||||
"Version": "1.8.3",
|
||||
"Version": "1.8.4",
|
||||
"Language": "csharp",
|
||||
"Website": "https://github.com/Flow-Launcher/Flow.Launcher",
|
||||
"ExecuteFileName": "Flow.Launcher.Plugin.PluginsManager.dll",
|
||||
|
|
|
|||
Loading…
Reference in a new issue