IDEA-84019 (Project with underscore in name lead to non functional window menu)

This commit is contained in:
Bas Leijdekkers
2012-04-03 17:34:01 +02:00
parent db37b3b964
commit b83c8cfbf5
@@ -41,7 +41,7 @@ public class ProjectWindowAction extends ToggleAction implements DumbAware {
@NotNull private final String myProjectLocation;
public ProjectWindowAction(@NotNull String projectName, @NotNull String projectLocation, ProjectWindowAction previous) {
super(projectName);
super();
myProjectName = projectName;
myProjectLocation = projectLocation;
if (previous != null) {
@@ -53,6 +53,7 @@ public class ProjectWindowAction extends ToggleAction implements DumbAware {
myPrevious = this;
myNext = this;
}
getTemplatePresentation().setText(projectName, false);
}
public void dispose() {