[PowerToys Run] Fix Previous query not erased when closing (#15121)

This commit is contained in:
tameemzabalawi 2021-12-24 11:56:46 +01:00 committed by GitHub
parent bb88aff663
commit 81e0e14008
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -885,7 +885,7 @@ namespace PowerLauncher.ViewModel
}
else
{
if (_settings.ClearInputOnLaunch && Results.Visibility == Visibility.Visible)
if (_settings.ClearInputOnLaunch)
{
ClearQueryCommand.Execute(null);
Task.Run(() =>