Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Becker2012-03-23 15:24:26 -0400
committerFrank Becker2012-03-23 15:24:26 -0400
commit5b95b128644bddd6b485fbb69014aae00dd8d229 (patch)
treeed38556926be63f3f6f659be8ca0933d6e875401 /org.eclipse.mylyn.tasks.ui
parentf1a6babedda184262ccf8214b64943bb768b6c7a (diff)
downloadorg.eclipse.mylyn.tasks-5b95b128644bddd6b485fbb69014aae00dd8d229.tar.gz
org.eclipse.mylyn.tasks-5b95b128644bddd6b485fbb69014aae00dd8d229.tar.xz
org.eclipse.mylyn.tasks-5b95b128644bddd6b485fbb69014aae00dd8d229.zip
ASSIGNED - bug 375208: "Task has incoming changes" should run
SynchronizeEditorAction() and not refresh() https://bugs.eclipse.org/bugs/show_bug.cgi?id=375208
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java
index 9ba55ab8e..bccb6469b 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java
@@ -314,7 +314,9 @@ public abstract class AbstractTaskEditorPage extends TaskFormPage implements ISe
IMessageProvider.WARNING, new HyperlinkAdapter() {
@Override
public void linkActivated(HyperlinkEvent e) {
- AbstractTaskEditorPage.this.refresh();
+ SynchronizeEditorAction action = new SynchronizeEditorAction();
+ action.selectionChanged(new StructuredSelection(getEditor()));
+ action.run();
}
});
setSubmitEnabled(false);

Back to the top