# HG changeset patch # User Raimund Renkert # Date 1363009995 -3600 # Node ID 6f23afa5323e80f3fbd20a7ab3c2d701a9a08536 # Parent c0bdbe24c115cf229de2f2cd33c26083d1a1360a Fixed DoubleArrayPanel. Avoid NPE while creating panel. diff -r c0bdbe24c115 -r 6f23afa5323e flys-client/src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.java Mon Mar 11 13:22:50 2013 +0100 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/DoubleArrayPanel.java Mon Mar 11 14:53:15 2013 +0100 @@ -64,7 +64,9 @@ sti.setValue(title); ti.addBlurHandler(blurHandler); - ti.addFocusHandler(focusHandler); + if (focusHandler != null) { + ti.addFocusHandler(focusHandler); + } if (titleOrientation == TitleOrientation.RIGHT) { setFields(ti, sti);