Choice fix
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user