add AutoAjustScore option for results

This commit is contained in:
qianlifeng
2014-01-15 22:45:02 +08:00
parent 93d8f66afc
commit 56118a7142
15 changed files with 106 additions and 147 deletions

View File

@@ -231,7 +231,7 @@ namespace WinAlfred
if (result != null)
{
selectedRecords.AddSelect(result);
if (!result.DontHideWinAlfredAfterAction)
if (!result.DontHideWinAlfredAfterSelect)
{
HideWinAlfred();
}
@@ -250,7 +250,7 @@ namespace WinAlfred
//todo:this used be opened to users, it's they choise use it or not in thier workflows
list.ForEach(o =>
{
o.Score += selectedRecords.GetSelectedCount(o);
if(o.AutoAjustScore) o.Score += selectedRecords.GetSelectedCount(o);
});
resultCtrl.Dispatcher.Invoke(new Action(() =>
{