Add pluginID for result.

This commit is contained in:
qianlifeng
2015-01-24 22:34:55 +08:00
parent 4379145231
commit 929cc2727d
10 changed files with 36 additions and 46 deletions

View File

@@ -653,12 +653,10 @@ namespace Wox
if (list.Count > 0)
{
//todo:this should be opened to users, it's their choice to use it or not in their workflows
list.ForEach(
o =>
{
if (o.AutoAjustScore) o.Score += UserSelectedRecordStorage.Instance.GetSelectedCount(o) * 5;
});
list.ForEach(o =>
{
o.Score += UserSelectedRecordStorage.Instance.GetSelectedCount(o) * 5;
});
List<Result> l = list.Where(o => o.OriginQuery != null && o.OriginQuery.RawQuery == lastQuery).ToList();
Dispatcher.Invoke(new Action(() =>
{