On opening Architect GUI focus textfield

This commit is contained in:
Raul Tambre 2014-05-06 20:02:57 +03:00
parent 3e4378f565
commit c93d36acd6

View file

@ -74,6 +74,7 @@ public class GuiArchitect extends GuiBuildCraft {
textField = new GuiTextField(this.fontRendererObj, TEXT_X, TEXT_Y, TEXT_WIDTH, TEXT_HEIGHT);
textField.setMaxStringLength(BuildCraftBuilders.MAX_BLUEPRINTS_NAME_SIZE);
textField.setText(architect.name);
textField.setFocused(true);
updateButtons();
}