Skip to content

Commit

Permalink
955 add missing title to form
Browse files Browse the repository at this point in the history
  • Loading branch information
silinmykola committed Feb 3, 2022
1 parent b1208cb commit 2359033
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ public NewEmailTemplateDialog(final Project project, final PsiDirectory director
super();
setContentPane(contentPane);
setModal(true);
setTitle(NewEmailTemplateAction.ACTION_DESCRIPTION);
getRootPane().setDefaultButton(buttonOK);
this.project = project;
this.validator = new NewEmailTemplateDialogValidator(project);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import com.intellij.openapi.project.Project;
import com.intellij.psi.PsiDirectory;
import com.intellij.ui.DocumentAdapter;
import com.magento.idea.magento2plugin.actions.generation.NewModelsAction;
import com.magento.idea.magento2plugin.actions.generation.data.CollectionData;
import com.magento.idea.magento2plugin.actions.generation.data.ModelData;
import com.magento.idea.magento2plugin.actions.generation.data.ResourceModelData;
Expand Down Expand Up @@ -112,6 +113,7 @@ public NewModelsDialog(final Project project, final PsiDirectory directory) {

setContentPane(contentPane);
setModal(true);
setTitle(NewModelsAction.ACTION_DESCRIPTION);
getRootPane().setDefaultButton(buttonOK);
buttonOK.addActionListener(e -> onOK());
buttonCancel.addActionListener(e -> onCancel());
Expand Down

0 comments on commit 2359033

Please sign in to comment.