Fix the issue when we clean up the search box in top level

This commit is contained in:
Yu Leng (from Dev Box)
2025-04-30 18:08:46 +08:00
parent ef264d93d6
commit e40372c189

View File

@@ -32,10 +32,10 @@ internal sealed partial class FallbackOpenFileItem : FallbackCommandItem, System
{ {
if (string.IsNullOrWhiteSpace(query)) if (string.IsNullOrWhiteSpace(query))
{ {
Command = new NoOpCommand();
Title = string.Empty; Title = string.Empty;
Subtitle = string.Empty; Subtitle = string.Empty;
Icon = null; Icon = null;
Command = new NoOpCommand();
MoreCommands = null; MoreCommands = null;
return; return;