From: Patrick Plitzner Date: Wed, 25 May 2016 15:33:45 +0000 (+0200) Subject: Fix order of wizard pages in new taxon wizard #2402 X-Git-Tag: 4.1.0^2~23 X-Git-Url: https://dev.e-taxonomy.eu/gitweb/taxeditor.git/commitdiff_plain/d2cd9972733697efe5de6397107855eb1e868245 Fix order of wizard pages in new taxon wizard #2402 --- diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewTaxonWizard.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewTaxonWizard.java index 1947c452f..4d31df288 100644 --- a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewTaxonWizard.java +++ b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewTaxonWizard.java @@ -25,14 +25,11 @@ import eu.etaxonomy.taxeditor.ui.section.taxon.TaxonWizardPage; */ public class NewTaxonWizard extends AbstractNewEntityWizard { - private TaxonWizardPage taxonWizardPage; - /** {@inheritDoc} */ @Override public void addPages() { + addPage(new TaxonWizardPage(formFactory, getConversationHolder(), getEntity())); addPage(new NonViralNameWizardPage(formFactory, getConversationHolder(), (NonViralName) getEntity().getName())); - taxonWizardPage = new TaxonWizardPage(formFactory, getConversationHolder(), getEntity()); - addPage(taxonWizardPage); } /** {@inheritDoc} */