ref #6933: set anamorph to false if change NC
authorKatja Luther <k.luther@bgbm.org>
Mon, 25 Sep 2017 12:43:26 +0000 (14:43 +0200)
committerKatja Luther <k.luther@bgbm.org>
Mon, 25 Sep 2017 12:45:24 +0000 (14:45 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/NonViralNameDetailElement.java

index a3db11861198d51f5d821ff438a109dfbdbd37d7..e9ea6c22d589468c21ddc5e6fdcee4123814ddf1 100644 (file)
@@ -236,7 +236,7 @@ public class NonViralNameDetailElement
                if (actualCode.equals(NomenclaturalCode.Fungi)){
                        if (getEntity().isAnamorphic() ){
                                if (MessagingUtils.confirmDialog(Messages.NonViralNameDetails_confirmDeleteOfFungiNameParts, Messages.NonViralNameDetails_descriptionDeleteOfFungiNameParts)){
                if (actualCode.equals(NomenclaturalCode.Fungi)){
                        if (getEntity().isAnamorphic() ){
                                if (MessagingUtils.confirmDialog(Messages.NonViralNameDetails_confirmDeleteOfFungiNameParts, Messages.NonViralNameDetails_descriptionDeleteOfFungiNameParts)){
-                                       getEntity().setAnamorphic(true);
+                                       getEntity().setAnamorphic(false);
                                        return true;
                                }
                        }else{
                                        return true;
                                }
                        }else{