Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelves2007-02-19 12:25:53 -0500
committerrelves2007-02-19 12:25:53 -0500
commit114bb9dece5c8632a2e2b4c7881afd301a9cb8b0 (patch)
treee3c438524493423a91213971aef1d98c2f8f235f
parentd327b69e65460641b110ea56ed9ef205cee6ebba (diff)
downloadorg.eclipse.mylyn.tasks-114bb9dece5c8632a2e2b4c7881afd301a9cb8b0.tar.gz
org.eclipse.mylyn.tasks-114bb9dece5c8632a2e2b4c7881afd301a9cb8b0.tar.xz
org.eclipse.mylyn.tasks-114bb9dece5c8632a2e2b4c7881afd301a9cb8b0.zip
REOPENED - bug 174205: "View past activity" link causes NullPointerException
https://bugs.eclipse.org/bugs/show_bug.cgi?id=174205
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java
index 6244318a4..bd52721da 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/TaskEditor.java
@@ -30,6 +30,7 @@ import org.eclipse.mylar.internal.tasks.ui.views.TaskListView;
import org.eclipse.mylar.tasks.core.AbstractRepositoryTask;
import org.eclipse.mylar.tasks.core.ITask;
import org.eclipse.mylar.tasks.ui.TasksUiPlugin;
+import org.eclipse.mylar.tasks.ui.TasksUiUtil;
import org.eclipse.swt.SWT;
import org.eclipse.swt.SWTError;
import org.eclipse.swt.browser.Browser;
@@ -322,6 +323,8 @@ public class TaskEditor extends FormEditor {
if (webBrowser != null) {
webBrowser.setUrl(url);
revealBrowser();
+ } else {
+ TasksUiUtil.openBrowser(url);
}
}

Back to the top