compute initial state of placeholder correctly
[idea/community.git] / python / educational-core / course-creator / src / com / jetbrains / edu / coursecreator / actions / CCHideFromStudent.java
index 9ac18ba159a3ab9bd21e565bf9fe0287e76d53ec..07cd46cfdf200e8249564d2b0518d2c4007b9ee6 100644 (file)
@@ -24,7 +24,7 @@ public class CCHideFromStudent extends CCTaskFileActionBase {
       return;
     }
     String name = file.getName();
-    VirtualFile patternFile = StudyUtils.getPatternFile(project, taskFile, name);
+    VirtualFile patternFile = StudyUtils.getPatternFile(taskFile, name);
     ApplicationManager.getApplication().runWriteAction(() -> {
       if (patternFile != null) {
         try {