mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
Corrected querytext display on action keyword (#6341)
* Corrected querytexdisplay on action keyword * Added tests for UpdateResultWithActionKeyword
This commit is contained in:
committed by
GitHub
parent
85fa644aca
commit
cd906b0a6f
@@ -272,8 +272,7 @@ namespace PowerLauncher.ViewModel
|
||||
|
||||
public string SearchBoxDisplayText()
|
||||
{
|
||||
var display = string.IsNullOrEmpty(Result.QueryTextDisplay) ? Result.Title : Result.QueryTextDisplay;
|
||||
return display;
|
||||
return Result.QueryTextDisplay;
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
|
||||
Reference in New Issue
Block a user