mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-10 05:06:36 +02:00
text is selected whenever launcher gets hidden and is then set to visible (#2315)
This commit is contained in:
@@ -169,6 +169,12 @@ namespace PowerLauncher
|
|||||||
{
|
{
|
||||||
_viewModel.LastQuerySelected = true;
|
_viewModel.LastQuerySelected = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// to select the text so that the user can continue to type
|
||||||
|
if(!String.IsNullOrEmpty(_launcher.TextBox.Text))
|
||||||
|
{
|
||||||
|
_launcher.TextBox.SelectAll();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user