Fix rename popup from not focusing and selecting text.

This commit is contained in:
Chandler Cox
2023-01-18 18:42:21 -06:00
parent 1e98fe2920
commit 720dbabae1

View File

@@ -172,6 +172,7 @@ namespace FlaxEditor.GUI
/// <inheritdoc />
protected override void OnShow()
{
_inputField.EndEditOnClick = false; // Ending edit is handled through popup
_inputField.Focus();
_inputField.SelectAll();