From: Katja Luther Date: Tue, 19 Apr 2016 11:20:59 +0000 (+0200) Subject: add a comment X-Git-Tag: 4.0.0^2~16 X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/commitdiff_plain/3c3dd621235d53d6caf67071e08b84e5daafb898?ds=sidebyside add a comment --- diff --git a/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/MultiPageTaxonEditor.java b/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/MultiPageTaxonEditor.java index 0f94566a9..4d23e9495 100644 --- a/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/MultiPageTaxonEditor.java +++ b/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/MultiPageTaxonEditor.java @@ -304,6 +304,7 @@ IDirtyMarkable, IPartContentHasDetails, ISecuredEditor, IPartContentHasMedia { @Override public void changed(Object element) { // setDirty(true); + // if the attribute is null then do not set the dirty flag -> hotfix for the problem that for tasks done in service methods the changes are saved automatically if (element != null){ dirty = true; super.editorDirtyStateChanged();