GrabKeyboardFocus() public method

public GrabKeyboardFocus ( ) : void
return void
        void RenameEnded()
        {
            if (GetRenameOverlay().userAcceptedRename)
            {
                if (onNameChangedAtIndex != null)
                {
                    string name  = string.IsNullOrEmpty(GetRenameOverlay().name) ? GetRenameOverlay().originalName : GetRenameOverlay().name;
                    int    index = GetRenameOverlay().userData;
                    onNameChangedAtIndex(index, name);
                }
            }

            // We give keyboard focus back to our reorderable list because the rename utility stole it (now we give it back)
            if (GetRenameOverlay().HasKeyboardFocus())
            {
                m_ReorderableList.GrabKeyboardFocus();
            }

            GetRenameOverlay().Clear();
        }