mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EDU-537 Empty task text with opened task files
This commit is contained in:
+5
@@ -56,6 +56,11 @@ public abstract class StudyBasePluginConfigurator implements StudyPluginConfigur
|
||||
|
||||
@Override
|
||||
public void fileClosed(@NotNull FileEditorManager source, @NotNull VirtualFile file) {
|
||||
for (VirtualFile openedFile : source.getOpenFiles()) {
|
||||
if (StudyUtils.getTaskFile(project, openedFile) != null) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
toolWindow.setEmptyText(project);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user