private void ServersPopup()
{
if (this.serversList.Length > 0)
{
GUILayoutOption[] options = new GUILayoutOption[] { GUILayout.MaxWidth(18f) };
int index = EditorGUILayout.Popup(-1, this.serversList, constants.dropDown, options);
if (index >= 0)
{
GUIUtility.keyboardControl = 0;
GUIUtility.hotControl = 0;
this.resetKeyboardControl = true;
this.serverAddress = this.serversList[index];
this.parentWin.Repaint();
}
}
}
}