Choice fix

This commit is contained in:
Bertrand Songis
2020-05-22 12:07:18 +02:00
parent 43886e1fdf
commit 0d7bca1abf
+2 -2
View File
@@ -110,11 +110,11 @@ class Choice : public ChoiceBase {
int value = vmin;
while (index > 0) {
index--;
value++;
while (value < vmax && !isValueAvailable(value)) {
value++;
}
value++;
index--;
}
return value;
}