We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ca28ca commit 4c4839aCopy full SHA for 4c4839a
src/main/java/gwt/material/design/addins/client/stepper/MaterialStepper.java
@@ -157,13 +157,17 @@ public boolean isDetectOrientation() {
157
*/
158
public void add(MaterialStep step) {
159
this.add((Widget) step);
160
- step.setAxis(getAxis());
161
- registerHandler(step.addSelectionHandler(this));
162
- totalSteps++;
+
+ registerStep(step);
163
}
164
165
public void insert(MaterialStep step, int index) {
166
super.insert(step, index);
167
168
+ }
169
170
+ protected void registerStep(MaterialStep step) {
171
step.setAxis(getAxis());
172
registerHandler(step.addSelectionHandler(this));
173
totalSteps++;
0 commit comments