mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-13 11:09:28 +08:00
Fix crashes for context menu on empty query
Fixed issue #434, thanks @pieper126
This commit is contained in:
parent
b202b75bf7
commit
4251ad7d45
@ -895,6 +895,7 @@ namespace Wox
|
||||
|
||||
private void ShowContextMenu(Result result)
|
||||
{
|
||||
if (result == null) return;
|
||||
List<Result> results = PluginManager.GetContextMenusForPlugin(result);
|
||||
results.ForEach(o =>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user