select active subtask as default in popup
authorLiana Bakradze <liana.bakradze@jetbrains.com>
Thu, 22 Sep 2016 14:29:15 +0000 (17:29 +0300)
committerliana.bakradze <liana.bakradze@jetbrains.com>
Thu, 17 Nov 2016 14:05:05 +0000 (17:05 +0300)
python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/CCSubtaskEditorNotificationProvider.java

index 3663afaddc33844829966c9db0bd3807d8c62020..f56dddc7e6858cec736308e37296df79b2235ea1 100644 (file)
@@ -126,7 +126,7 @@ public class CCSubtaskEditorNotificationProvider extends EditorNotifications.Pro
 
     @Override
     public int getDefaultOptionIndex() {
-      return myTask.getActiveSubtaskIndex() + 1;
+      return myTask.getActiveSubtaskIndex();
     }
 
     @Nullable