Merge pull request #1720 from tambry/architecttablefocus
On opening Architect GUI focus textfield
This commit is contained in:
commit
888da3081f
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ public class GuiArchitect extends GuiBuildCraft {
|
||||||
textField = new GuiTextField(this.fontRendererObj, TEXT_X, TEXT_Y, TEXT_WIDTH, TEXT_HEIGHT);
|
textField = new GuiTextField(this.fontRendererObj, TEXT_X, TEXT_Y, TEXT_WIDTH, TEXT_HEIGHT);
|
||||||
textField.setMaxStringLength(BuildCraftBuilders.MAX_BLUEPRINTS_NAME_SIZE);
|
textField.setMaxStringLength(BuildCraftBuilders.MAX_BLUEPRINTS_NAME_SIZE);
|
||||||
textField.setText(architect.name);
|
textField.setText(architect.name);
|
||||||
|
textField.setFocused(true);
|
||||||
|
|
||||||
updateButtons();
|
updateButtons();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue