- fixed bug for maximum elevation
authorPatric Plitzner <p.plitzner@bgbm.org>
Tue, 21 Apr 2015 09:24:39 +0000 (09:24 +0000)
committerPatric Plitzner <p.plitzner@bgbm.org>
Tue, 21 Apr 2015 09:24:39 +0000 (09:24 +0000)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/MinMaxTextSection.java

index a3b2e3e6b4979f1b8e72ce1041b2ae719ec418e5..1d9d78cc4411ffee0238814869e5de40f6710c8b 100644 (file)
@@ -98,7 +98,7 @@ public class MinMaxTextSection extends AbstractFormSection<DerivedUnitFacade> {
                                        text_minVal.setNumber(getEntity().getAbsoluteElevation());
                                }
                                if(getEntity().getAbsoluteElevationMaximum() != null) {
                                        text_minVal.setNumber(getEntity().getAbsoluteElevation());
                                }
                                if(getEntity().getAbsoluteElevationMaximum() != null) {
-                                       text_maxVal.setNumber(getEntity().getAbsoluteElevation());
+                                       text_maxVal.setNumber(getEntity().getAbsoluteElevationMaximum());
                                }
                                if(getEntity().getAbsoluteElevationText() != null) {
                                        text_freeText.setText(getEntity().getAbsoluteElevationText());
                                }
                                if(getEntity().getAbsoluteElevationText() != null) {
                                        text_freeText.setText(getEntity().getAbsoluteElevationText());