Fix crashes for context menu on empty query

Fixed issue #434, thanks @pieper126
This commit is contained in:
bao-qian 2016-01-02 00:22:43 +00:00
parent b202b75bf7
commit 4251ad7d45

View File

@ -895,6 +895,7 @@ namespace Wox
private void ShowContextMenu(Result result)
{
if (result == null) return;
List<Result> results = PluginManager.GetContextMenusForPlugin(result);
results.ForEach(o =>
{