changeset 594:646cf09dabf2

Initialize the combobox in the SelectProvider correctly. flys-client/trunk@2191 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 21 Jun 2011 17:53:08 +0000
parents c0477626ae6a
children 9155110ec0a6
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Tue Jun 21 17:29:18 2011 +0000
+++ b/flys-client/ChangeLog	Tue Jun 21 17:53:08 2011 +0000
@@ -1,3 +1,8 @@
+2011-06-21  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java:
+	  Initialize the combobox correctly.
+
 2011-06-21  Ingo Weinzierl <ingo@intevation.de>
 
 	  flys/issue156 (WINFO: Platzierung des Berechnungsberichtes)
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java	Tue Jun 21 17:29:18 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/SelectProvider.java	Tue Jun 21 17:53:08 2011 +0000
@@ -122,8 +122,7 @@
             label.setValign(VerticalAlignment.TOP);
             label.setHeight(20);
 
-            SelectItem combobox = new SelectItem();
-            combobox.setTitle(d.getLabel());
+            SelectItem combobox = new SelectItem(d.getLabel());
             combobox.setWidth(250);
 
             LinkedHashMap<String, String> it = new LinkedHashMap<String, String>();

http://dive4elements.wald.intevation.org