add a comment
authorKatja Luther <k.luther@bgbm.org>
Tue, 19 Apr 2016 11:20:59 +0000 (13:20 +0200)
committerKatja Luther <k.luther@bgbm.org>
Tue, 19 Apr 2016 11:20:59 +0000 (13:20 +0200)
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/MultiPageTaxonEditor.java

index 0f94566a9c51d426b503a98f85749a40bca474d4..4d23e9495c08a18b8804d805b35db68455be657a 100644 (file)
@@ -304,6 +304,7 @@ IDirtyMarkable, IPartContentHasDetails, ISecuredEditor, IPartContentHasMedia {
     @Override
     public void changed(Object element) {
         // setDirty(true);
     @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();
         if (element != null){
             dirty = true;
             super.editorDirtyStateChanged();