Add Google suggestions for web searches

Fix issues with push results
This commit is contained in:
Yeechan Lu
2014-03-27 16:56:50 +08:00
parent c8fcfcd28c
commit 9a2ffc1d7c
10 changed files with 249 additions and 18 deletions

View File

@@ -57,7 +57,7 @@ namespace Wox.Plugin.System.CMD
}
catch (Exception) { }
context.PushResults(new List<Result>() { result });
context.PushResults(query, new List<Result>() { result });
IEnumerable<Result> history = CMDStorage.Instance.CMDHistory.Where(o => o.Key.Contains(cmd))
.OrderByDescending(o => o.Value)
@@ -92,7 +92,7 @@ namespace Wox.Plugin.System.CMD
return ret;
}).Where(o => o != null).Take(4);
context.PushResults(history.ToList());
context.PushResults(query, history.ToList());
try
{