Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ScheduleTaskMenuContributor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ScheduleTaskMenuContributor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ScheduleTaskMenuContributor.java
index 8f01b0832..1b38b2284 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ScheduleTaskMenuContributor.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ScheduleTaskMenuContributor.java
@@ -129,7 +129,7 @@ public class ScheduleTaskMenuContributor implements IDynamicSubMenuContributor {
// Future
if (singleTaskSelection != null && getScheduledForDate(singleTaskSelection) != null) {
- if (getScheduledForDate(singleTaskSelection).after(week.next().getEndDate())) {
+ if (getScheduledForDate(singleTaskSelection).after(week.next().next().getEndDate())) {
action = new Action() {
@Override
public void run() {

Back to the top