From c93d36acd6b5b3e33e4608fb1e35f2f22b1404fb Mon Sep 17 00:00:00 2001 From: Raul Tambre Date: Tue, 6 May 2014 20:02:57 +0300 Subject: [PATCH] On opening Architect GUI focus textfield --- common/buildcraft/builders/gui/GuiArchitect.java | 1 + 1 file changed, 1 insertion(+) diff --git a/common/buildcraft/builders/gui/GuiArchitect.java b/common/buildcraft/builders/gui/GuiArchitect.java index 577a0f49..496b0970 100644 --- a/common/buildcraft/builders/gui/GuiArchitect.java +++ b/common/buildcraft/builders/gui/GuiArchitect.java @@ -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(); }