[Dive4elements-commits] [PATCH] WQAdaptedInputPanel: Ensure correct initial default selection ("Q")

Wald Commits scm-commit at wald.intevation.org
Tue Jun 11 12:32:28 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1370947293 -7200
# Node ID 9b7f1288e6c439c26d8bc23ff16ab4a6ed21b867
# Parent  44ee7d26eb18de23ff5bc2fe829b82301a82b306
WQAdaptedInputPanel: Ensure correct initial default selection ("Q").

diff -r 44ee7d26eb18 -r 9b7f1288e6c4 gwt-client/src/main/java/org/dive4elements/river/client/client/ui/WQAdaptedInputPanel.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/WQAdaptedInputPanel.java	Tue Jun 11 12:19:01 2013 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/WQAdaptedInputPanel.java	Tue Jun 11 12:41:33 2013 +0200
@@ -198,6 +198,10 @@
             tabs.disableTab(i*2+1);
         }
 
+        // Defaults at "Q", first input field.
+        tabs.selectTab(0);
+        enableQTabs();
+
         helperContainer.addMember(tabs);
     }
 


More information about the Dive4elements-commits mailing list