diff --git a/src/modules/launcher/PowerLauncher/MainWindow.xaml.cs b/src/modules/launcher/PowerLauncher/MainWindow.xaml.cs index 186987da74..e4079c4f80 100644 --- a/src/modules/launcher/PowerLauncher/MainWindow.xaml.cs +++ b/src/modules/launcher/PowerLauncher/MainWindow.xaml.cs @@ -299,7 +299,7 @@ namespace PowerLauncher else { var text = ((TextBox)sender).Text; - if (text == string.Empty) + if (string.IsNullOrEmpty(text)) { SearchBox.AutoCompleteTextBlock.Text = string.Empty; }