Mercurial > dive4elements > river
changeset 7940:217ff570d83f
Fixed compile errors for smartgwt 4.1.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 18 Jun 2014 14:25:01 +0200 |
parents | 6e852a6c72f2 |
children | 48d8dba891f6 |
files | gwt-client/src/main/java/org/dive4elements/river/client/client/ui/ProjectList.java gwt-client/src/main/java/org/dive4elements/river/client/client/ui/map/ElevationWindow.java |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/ProjectList.java Wed Jun 18 14:23:25 2014 +0200 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/ProjectList.java Wed Jun 18 14:25:01 2014 +0200 @@ -494,7 +494,7 @@ SC.warn(msg); ListGridRecord[] rs = grid.getRecords(); - rs[row] = (ListGridRecord) event.getOldRecord(); + rs[row] = (ListGridRecord) event.getOldValues(); grid.setRecords(rs); return;
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/map/ElevationWindow.java Wed Jun 18 14:23:25 2014 +0200 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/map/ElevationWindow.java Wed Jun 18 14:25:01 2014 +0200 @@ -219,7 +219,7 @@ catch (NumberFormatException nfe) { SC.warn(MSG.ele_window_format_error() + " " + z); - PointRecord old = (PointRecord) evt.getOldRecord(); + PointRecord old = (PointRecord) evt.getOldValues(); ListGridRecord[] records = grid.getRecords(); records[evt.getRowNum()] = old;