new subtask action
[idea/community.git] / python / educational-core / student / src / com / jetbrains / edu / learning / courseFormat / AnswerPlaceholder.java
index a1532e804b2d7ac7dce0acee5fd0734a916ed582..0dc01b6f1f648f41748584f5d858257fb417f5bd 100644 (file)
@@ -212,7 +212,7 @@ public class AnswerPlaceholder {
     if (myTaskFile == null || myTaskFile.getTask() == null) {
       return mySubtaskInfos.get(0);
     }
-    int activeStepIndex = myTaskFile.getTask().getActiveStepIndex();
+    int activeStepIndex = myTaskFile.getTask().getActiveSubtaskIndex();
     return mySubtaskInfos.get(activeStepIndex);
   }
 }