# HG changeset patch # User Ingo Weinzierl # Date 1309187734 0 # Node ID 5bf652ba45812c2a3135630c90690fea82599814 # Parent ef88ecbbd4d38adf6a911eaf1549bbd8c83b6a3f #182 Initial WQ mode in adapted wq panel is now Q. flys-client/trunk@2256 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r ef88ecbbd4d3 -r 5bf652ba4581 flys-client/ChangeLog --- a/flys-client/ChangeLog Mon Jun 27 13:06:22 2011 +0000 +++ b/flys-client/ChangeLog Mon Jun 27 15:15:34 2011 +0000 @@ -1,3 +1,10 @@ +2011-06-27 Ingo Weinzierl + + flys/issue182 (WINFO: Vorbelegung Q bei "ungleichwertigem Abflusslängsschnitt") + + * src/main/java/de/intevation/flys/client/client/ui/WQAdaptedInputPanel.java: + Set initial mode to Q. + 2011-06-27 Ingo Weinzierl * Changes: Prepared changes for the upcoming release. diff -r ef88ecbbd4d3 -r 5bf652ba4581 flys-client/src/main/java/de/intevation/flys/client/client/ui/WQAdaptedInputPanel.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQAdaptedInputPanel.java Mon Jun 27 13:06:22 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQAdaptedInputPanel.java Mon Jun 27 15:15:34 2011 +0000 @@ -340,11 +340,11 @@ DataItem def = dDef != null ? dDef.getDefault() : null; String value = def != null ? def.getStringValue() : null; - if (value != null && value.equals(FIELD_WQ_Q)) { - modes.setValue(FIELD_WQ_MODE, FIELD_WQ_Q); + if (value != null && value.equals(FIELD_WQ_W)) { + modes.setValue(FIELD_WQ_MODE, FIELD_WQ_W); } else { - modes.setValue(FIELD_WQ_MODE, FIELD_WQ_W); + modes.setValue(FIELD_WQ_MODE, FIELD_WQ_Q); } } @@ -468,7 +468,7 @@ modes.setWidth(200); LinkedHashMap initial = new LinkedHashMap(); - initial.put(FIELD_WQ_MODE, FIELD_WQ_W); + initial.put(FIELD_WQ_MODE, FIELD_WQ_Q); modes.setValues(initial); return modes;