Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2005-11-09 19:20:08 -0500
committermkersten2005-11-09 19:20:08 -0500
commitc53c8dcec116cb78a83b31ee764935869de8c192 (patch)
treeae72acba616931b9fe7b7fbef22dba7b888779fe
parentafc7ac188078917efac8511974147cdcd1c47836 (diff)
downloadorg.eclipse.mylyn.tasks-c53c8dcec116cb78a83b31ee764935869de8c192.tar.gz
org.eclipse.mylyn.tasks-c53c8dcec116cb78a83b31ee764935869de8c192.tar.xz
org.eclipse.mylyn.tasks-c53c8dcec116cb78a83b31ee764935869de8c192.zip
Progress on Bug 115514: Editors closed on task deactivation should...
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/ToolTipHandler.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/ToolTipHandler.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/ToolTipHandler.java
index 03247639c..f3ede7981 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/ToolTipHandler.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/ToolTipHandler.java
@@ -195,7 +195,9 @@ public class ToolTipHandler {
return;
}
- if (tipShell.getShell() != null && tipShell.getShell().getParent() != null
+ if (tipShell.getShell() != null
+ && tipShell.getShell().getParent() != null
+ && Display.getCurrent().getActiveShell() != null
&& tipShell.getShell().getParent() != Display.getCurrent().getActiveShell()) {
tipShell = createTipShell(Display.getCurrent().getActiveShell());
}

Back to the top