mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EDU-255 Change course information: course name in project view is not updated
This commit is contained in:
+3
@@ -1,6 +1,7 @@
|
||||
package org.jetbrains.plugins.coursecreator.actions;
|
||||
|
||||
import com.intellij.ide.IdeView;
|
||||
import com.intellij.ide.projectView.ProjectView;
|
||||
import com.intellij.ide.util.DirectoryChooserUtil;
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent;
|
||||
import com.intellij.openapi.actionSystem.CommonDataKeys;
|
||||
@@ -85,6 +86,7 @@ public class CCChangeCourseInfo extends DumbAwareAction {
|
||||
course.setAuthor(panel.getAuthor());
|
||||
course.setName(panel.getName());
|
||||
course.setDescription(panel.getDescription());
|
||||
ProjectView.getInstance(project).refresh();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -93,6 +95,7 @@ public class CCChangeCourseInfo extends DumbAwareAction {
|
||||
CCNewProjectPanel myNewProjectPanel;
|
||||
public ChangeCourseInfoDialog(@Nullable Project project, CCNewProjectPanel panel) {
|
||||
super(project);
|
||||
setTitle("Change Course Information");
|
||||
myNewProjectPanel = panel;
|
||||
init();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user