Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2011-08-27 21:04:41 +0000
committerSteffen Pingel2011-08-27 21:04:41 +0000
commit995030b13e81646276a539a7c90d3077e9d1bd73 (patch)
tree1de5ef50eb3898e46ca7aed8cb15a2b0254e9eeb /org.eclipse.mylyn.tasks.ui
parente027265e14b04ff5d602f7a34385397e5c6c7451 (diff)
downloadorg.eclipse.mylyn.tasks-995030b13e81646276a539a7c90d3077e9d1bd73.tar.gz
org.eclipse.mylyn.tasks-995030b13e81646276a539a7c90d3077e9d1bd73.tar.xz
org.eclipse.mylyn.tasks-995030b13e81646276a539a7c90d3077e9d1bd73.zip
RESOLVED - bug 348969: TaskDataModelListener not removed when attributes
section not expanded https://bugs.eclipse.org/bugs/show_bug.cgi?id=348969
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RichTextAttributeEditor.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RichTextAttributeEditor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RichTextAttributeEditor.java
index a725a0dda..dc735db9c 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RichTextAttributeEditor.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/RichTextAttributeEditor.java
@@ -80,12 +80,13 @@ public class RichTextAttributeEditor extends AbstractAttributeEditor {
@Override
public void createControl(Composite parent, FormToolkit toolkit) {
+ // refresh again, in case the value changed in the mean time, needs to be invoked before control is
+ // created otherwise WikiText rendering breaks
+ refresh();
+
editor.createControl(parent, toolkit);
editor.getViewer().getTextWidget().setToolTipText(getDescription());
- // refresh again, in case the value changed in the mean time
- refresh();
-
setControl(editor.getControl());
}

Back to the top