mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
Fix querying when search delay is off (#20034)
This commit is contained in:
@@ -584,7 +584,8 @@ namespace PowerLauncher
|
|||||||
|
|
||||||
// because IF this is delayedExecution = false (run fast queries) we know this will be called again with delayedExecution = true
|
// because IF this is delayedExecution = false (run fast queries) we know this will be called again with delayedExecution = true
|
||||||
// if we don't do this, the second (partner) call will not be called _isTextSetProgrammatically = true also, and we need it to.
|
// if we don't do this, the second (partner) call will not be called _isTextSetProgrammatically = true also, and we need it to.
|
||||||
if (delayedExecution.HasValue && delayedExecution.Value)
|
// Also, if search query delay is disabled, second call won't come, so reset _isTextSetProgrammatically anyway
|
||||||
|
if ((delayedExecution.HasValue && delayedExecution.Value) || !_viewModel.GetSearchQueryResultsWithDelaySetting())
|
||||||
{
|
{
|
||||||
_isTextSetProgrammatically = false;
|
_isTextSetProgrammatically = false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user