Skip to content

Commit bd521f2

Browse files
author
Vitaliy Boyko
committed
Fixed listeners on new module form for PHPStorm
1 parent 8d5b888 commit bd521f2

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/com/magento/idea/magento2plugin/generation/NewModuleForm.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,21 @@ protected void textChanged(@NotNull DocumentEvent e) {
163163
listener.run();
164164
}
165165
});
166+
this.moduleName.getDocument().addDocumentListener(new DocumentAdapter() {
167+
protected void textChanged(@NotNull DocumentEvent e) {
168+
listener.run();
169+
}
170+
});
171+
this.packageName.getDocument().addDocumentListener(new DocumentAdapter() {
172+
protected void textChanged(@NotNull DocumentEvent e) {
173+
listener.run();
174+
}
175+
});
176+
this.moduleVersion.getDocument().addDocumentListener(new DocumentAdapter() {
177+
protected void textChanged(@NotNull DocumentEvent e) {
178+
listener.run();
179+
}
180+
});
166181
}
167182

168183
private void fireStateChanged() {

0 commit comments

Comments
 (0)