diff options
author | sminto | 2010-05-13 17:39:05 +0000 |
---|---|---|
committer | sminto | 2010-05-13 17:39:05 +0000 |
commit | 7f2bfc4902c1cd95da4247fe1867ee0f67afcda4 (patch) | |
tree | 5201dd208742999e53e7359e79b60cbe65692102 /org.eclipse.mylyn.tasks.ui/src | |
parent | 194280f475c34d8023597471ed18be95ef45ccf5 (diff) | |
download | org.eclipse.mylyn.tasks-7f2bfc4902c1cd95da4247fe1867ee0f67afcda4.tar.gz org.eclipse.mylyn.tasks-7f2bfc4902c1cd95da4247fe1867ee0f67afcda4.tar.xz org.eclipse.mylyn.tasks-7f2bfc4902c1cd95da4247fe1867ee0f67afcda4.zip |
NEW - bug 165359: fix UI nits
https://bugs.eclipse.org/bugs/show_bug.cgi?id=165359
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui/src')
-rw-r--r-- | org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/ScheduleTaskMenuContributor.java | 3 |
1 files changed, 2 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 f867c3197..eedcc78c8 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 @@ -160,7 +160,8 @@ public class ScheduleTaskMenuContributor implements IDynamicSubMenuContributor { theCalendar.setTime(getScheduledForDate(singleTaskSelection).getStartDate().getTime()); } Shell shell = null; - if (subMenuManager != null && subMenuManager.getMenu() != null && subMenuManager.getMenu().isDisposed()) { + if (subMenuManager != null && subMenuManager.getMenu() != null + && !subMenuManager.getMenu().isDisposed()) { // we should try to use the same shell that the menu was created with // so that it shows up on top of that shell correctly shell = subMenuManager.getMenu().getShell(); |