Merge pull request #1720 from tambry/architecttablefocus

On opening Architect GUI focus textfield
This commit is contained in:
SpaceToad 2014-05-06 19:39:13 +02:00
commit 888da3081f

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();
}