Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Davis2015-05-01 21:09:27 +0000
committerGerrit Code Review @ Eclipse.org2015-05-08 22:48:04 +0000
commit205f1647ae9890189f910d640a201eca548cb2a3 (patch)
tree36b07ddf6571487a7f8e703dbf35d1a3de7c8c3d /org.eclipse.mylyn.tasks.ui
parent6edf650671f7b35b5abc0533fc23d5b3bb9a5e67 (diff)
downloadorg.eclipse.mylyn.tasks-205f1647ae9890189f910d640a201eca548cb2a3.tar.gz
org.eclipse.mylyn.tasks-205f1647ae9890189f910d640a201eca548cb2a3.tar.xz
org.eclipse.mylyn.tasks-205f1647ae9890189f910d640a201eca548cb2a3.zip
452674: don't call dirtyStateChanged when form is dirty
Change-Id: Ie7d2176235557b34590ab254b361c87c2450628d Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=452674
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java2
1 files changed, 1 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 5adee388a..fff321ab3 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
@@ -1304,7 +1304,7 @@ public abstract class AbstractTaskEditorPage extends TaskFormPage implements ISe
@Override
public void attributeChanged(TaskDataModelEvent event) {
IManagedForm form = getManagedForm();
- if (form != null) {
+ if (form != null && !form.isDirty()) {
form.dirtyStateChanged();
}
}

Back to the top