(no commit message)
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / src / main / java / eu / etaxonomy / taxeditor / editor / MultiPageTaxonEditor.java
index 164ed003754e187e91dfa9ce91fe3ef3f23c4b00..b0bf2f002f1a13f32d0f9b66636c36240c1a019c 100644 (file)
@@ -421,8 +421,9 @@ public class MultiPageTaxonEditor extends FormEditor implements
     /** {@inheritDoc} */
     @Override
     public boolean postOperation(CdmBase objectAffectedByOperation) {
-        setDirty(true);
-
+       if (objectAffectedByOperation != null){
+               setDirty(true);
+       }
         for (IEditorPart editor : this.getPages()) {
             if (editor instanceof IPostOperationEnabled) {
                 ((IPostOperationEnabled) editor).postOperation(objectAffectedByOperation);