Skip to content

Commit eb3aa96

Browse files
committed
Focusing on the first text field
1 parent bd1270d commit eb3aa96

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/com/magento/idea/magento2plugin/actions/generation/dialog/NewEntityDialog.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,11 @@ public NewEntityDialog(final @NotNull Project project, final PsiDirectory direct
218218
public void windowClosing(final WindowEvent event) {
219219
onCancel();
220220
}
221+
222+
@Override
223+
public void windowOpened(WindowEvent e) {
224+
entityName.requestFocus();
225+
}
221226
});
222227

223228
initializeComboboxSources();

0 commit comments

Comments
 (0)