Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java @ 1580:0dad8ab80005
#469 Use correct I18N string to display inserted locations in LocationDistancePanel.
flys-client/trunk@3850 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 01 Feb 2012 09:28:39 +0000 |
parents | 7e738bc8ed75 |
children | c9ae3c8504d5 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java Wed Feb 01 08:52:35 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java Wed Feb 01 09:28:39 2012 +0000 @@ -602,7 +602,7 @@ Data dLocations = getData(items, "ld_locations"); DataItem[] lItems = dLocations.getItems(); - String value = lItems[0].getStringValue(); + String value = lItems[0].getLabel(); Label selected = new Label(value); selected.setWidth(130);