# HG changeset patch # User Raimund Renkert # Date 1304520050 0 # Node ID 1bc787eeb5560c99d3357a7ff3acac185c78eb04 # Parent 11c5bcd349b12e3102a094c0133fb1f5e4852af5 Do not update the locations table if no data is cached. flys-client/trunk@1824 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 11c5bcd349b1 -r 1bc787eeb556 flys-client/ChangeLog --- a/flys-client/ChangeLog Wed May 04 14:05:40 2011 +0000 +++ b/flys-client/ChangeLog Wed May 04 14:40:50 2011 +0000 @@ -1,3 +1,8 @@ +2011-05-04 Raimund Renkert + + * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: + Do not update the locations table if no data is cached. + 2011-05-04 Ingo Weinzierl * src/main/java/de/intevation/flys/client/client/ui/WQAdaptedInputPanel.java: diff -r 11c5bcd349b1 -r 1bc787eeb556 flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java Wed May 04 14:05:40 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java Wed May 04 14:40:50 2011 +0000 @@ -659,7 +659,9 @@ Tab t2 = new Tab(MESSAGES.distance ()); t2.setPane(distanceTable); inputTables.addTab(t2); - updateDistanceInfo(tableData); + if (tableData != null) { + updateDistanceInfo(tableData); + } container.addMember(inputTables); inputTables.selectTab(1);