ref #8233 Do not evaluate accession number for "Finish" button
authorPatrick Plitzner <p.plitzner@bgbm.org>
Wed, 10 Apr 2019 13:51:15 +0000 (15:51 +0200)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Wed, 10 Apr 2019 15:31:44 +0000 (17:31 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/type/CloneTypeWizardPage.java

index 2780a6f..9eabb15 100644 (file)
@@ -23,7 +23,6 @@ import org.eclipse.swt.events.SelectionAdapter;
 import org.eclipse.swt.events.SelectionEvent;
 import org.eclipse.swt.widgets.Composite;
 
-import eu.etaxonomy.cdm.common.CdmUtils;
 import eu.etaxonomy.cdm.model.name.SpecimenTypeDesignation;
 import eu.etaxonomy.cdm.model.name.SpecimenTypeDesignationStatus;
 import eu.etaxonomy.taxeditor.ui.dialog.selection.CollectionSelectionDialog;
@@ -95,7 +94,6 @@ public class CloneTypeWizardPage extends WizardPage implements ISelectionChanged
     @Override
     public boolean isPageComplete() {
         return composite.getComboViewerBaseType().getSelection()!=null
-                && CdmUtils.isNotBlank(composite.getTxtAccNumber().getText())
                 && selectedCollection!=null
                 && composite.getComboTypeStatus().getSelection()!=null;
     }