From 4251ad7d4592a70ac3d323c5353759c4425afddb Mon Sep 17 00:00:00 2001 From: bao-qian Date: Sat, 2 Jan 2016 00:22:43 +0000 Subject: [PATCH] Fix crashes for context menu on empty query Fixed issue #434, thanks @pieper126 --- Wox/MainWindow.xaml.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Wox/MainWindow.xaml.cs b/Wox/MainWindow.xaml.cs index aef06b9eb5..04957f26c2 100644 --- a/Wox/MainWindow.xaml.cs +++ b/Wox/MainWindow.xaml.cs @@ -895,6 +895,7 @@ namespace Wox private void ShowContextMenu(Result result) { + if (result == null) return; List results = PluginManager.GetContextMenusForPlugin(result); results.ForEach(o => {