mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
Check that the plugin that returned the result actually put in a selection action in there
This commit is contained in:
@@ -82,8 +82,11 @@ namespace Wox.ViewModel
|
||||
|
||||
_selectedItem = value;
|
||||
_selectedItem.ActivateContextButtons(ResultViewModel.ActivationType.Selection);
|
||||
if (_selectedItem.Result.SelectionAction != null)
|
||||
{
|
||||
_selectedItem.Result.SelectionAction(new ActionContext());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
_selectedItem = value;
|
||||
|
||||
Reference in New Issue
Block a user