mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 04:07:40 +02:00
add AutoAjustScore option for results
This commit is contained in:
@@ -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(() =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user