Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe
Commits:
-
a64ad720
by Tony Chemit at 2020-12-17T22:43:45+01:00
1 changed file:
Changes:
| ... | ... | @@ -118,19 +118,22 @@ class SetUIHandler extends GeneratedSetUIHandler { |
| 118 | 118 |
SetDto tableEditBean = getModel().getStates().getBean();
|
| 119 | 119 |
if (Objects.equals(true, newValue)) {
|
| 120 | 120 |
|
| 121 |
- // depredated
|
|
| 121 |
+ // with lightsticks
|
|
| 122 | 122 |
ui.getTotalLightsticksCount().setEnabled(true);
|
| 123 | 123 |
ui.getLightsticksType().setEnabled(true);
|
| 124 | 124 |
ui.getLightsticksColor().setEnabled(true);
|
| 125 |
+ ui.getLightsticksPerBasketCount().setEnabled(true);
|
|
| 125 | 126 |
} else {
|
| 126 | 127 |
|
| 127 |
- // not depredated
|
|
| 128 |
+ // without lightsticks
|
|
| 128 | 129 |
ui.getTotalLightsticksCount().setEnabled(false);
|
| 129 | 130 |
ui.getLightsticksType().setEnabled(false);
|
| 130 | 131 |
ui.getLightsticksColor().setEnabled(false);
|
| 132 |
+ ui.getLightsticksPerBasketCount().setEnabled(false);
|
|
| 131 | 133 |
tableEditBean.setTotalLightsticksCount(null);
|
| 132 | 134 |
tableEditBean.setLightsticksType(null);
|
| 133 | 135 |
tableEditBean.setLightsticksColor(null);
|
| 136 |
+ tableEditBean.setLightsticksPerBasketCount(null);
|
|
| 134 | 137 |
}
|
| 135 | 138 |
}
|
| 136 | 139 |
|