text is selected whenever launcher gets hidden and is then set to visible (#2315)

This commit is contained in:
Alekhya
2020-04-22 13:42:08 -07:00
committed by GitHub
parent d48ef90fb0
commit 7f53877283

View File

@@ -169,6 +169,12 @@ namespace PowerLauncher
{
_viewModel.LastQuerySelected = true;
}
// to select the text so that the user can continue to type
if(!String.IsNullOrEmpty(_launcher.TextBox.Text))
{
_launcher.TextBox.SelectAll();
}
}
}
};