Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java @ 1369:1fae113b93fd
Issue 118/203.
Lock table for Q input and clear values on input change.
Updated i18n strings.
flys-client/trunk@3074 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 25 Oct 2011 13:32:16 +0000 |
parents | b9b4d27bcf63 |
children | 748e7c828d03 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java Tue Oct 25 12:41:16 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java Tue Oct 25 13:32:16 2011 +0000 @@ -167,7 +167,7 @@ protected void initTableListeners() { CellClickHandler handler = new CellClickHandler() { public void onCellClick(CellClickEvent e) { - if (isWMode()) { + if (isWMode() || qdTable.isLocked()) { return; } @@ -1118,6 +1118,8 @@ } else { qdTable.showIconFields(); + double[] empty = {}; + valuesQ = empty; } updatePanels(wqMode, inputMode);