Skip to content

Commit

Permalink
text is selected whenever launcher gets hidden and is then set to vis…
Browse files Browse the repository at this point in the history
…ible (#2315)
  • Loading branch information
alekhyareddy28 authored Apr 22, 2020
1 parent d48ef90 commit 7f53877
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/modules/launcher/PowerLauncher/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,12 @@ private void WindowsXamlHostTextBox_ChildChanged(object sender, EventArgs ev)
{
_viewModel.LastQuerySelected = true;
}
// to select the text so that the user can continue to type
if(!String.IsNullOrEmpty(_launcher.TextBox.Text))
{
_launcher.TextBox.SelectAll();
}
}
}
};
Expand Down

0 comments on commit 7f53877

Please sign in to comment.