diff --git a/java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/actions/NewModuleAction.java b/java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/actions/NewModuleAction.java index 60b2fa697a75..2b9814ddfea7 100644 --- a/java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/actions/NewModuleAction.java +++ b/java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/actions/NewModuleAction.java @@ -84,7 +84,7 @@ public class NewModuleAction extends AnAction implements DumbAware { public void update(@NotNull AnActionEvent e) { super.update(e); e.getPresentation().setEnabled(getEventProject(e) != null); - if (ActionPlaces.MAIN_MENU.equals(e.getPlace())) { + if (ActionPlaces.MAIN_MENU.equals(e.getPlace()) || ActionPlaces.isPopupPlace(e.getPlace())) { e.getPresentation().setText("Module..."); } }