EDU-595 Disable task navigation actions if no task to navigate to
[idea/community.git] / python / educational-core / student / src / com / jetbrains / edu / learning / actions / StudyNextStudyTaskAction.java
index 1cd6548274f30d4092fd478c61c635045c0f3966..1177caa53fcc5fb50ddf760c76b3b546fff7ddef 100644 (file)
@@ -19,11 +19,6 @@ public class StudyNextStudyTaskAction extends StudyTaskNavigationAction {
     super("Next Task (" + KeymapUtil.getShortcutText(new KeyboardShortcut(KeyStroke.getKeyStroke(SHORTCUT), null)) + ")", "Navigate to the next task", AllIcons.Actions.Forward);
   }
 
-  @Override
-  protected String getNavigationFinishedMessage() {
-    return "It's the last task";
-  }
-
   @Override
   protected Task getTargetTask(@NotNull final Task sourceTask) {
     return StudyNavigator.nextTask(sourceTask);