Skip to content

Commit

Permalink
Only increment the index if it is not a Nonvalue
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Couturier authored and ChopinDavid committed Jul 14, 2023
1 parent 214de5c commit 1d6ff0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ui/survey_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class SurveyWidgetState extends State<SurveyWidget> {
for (final kv in _controlsMap.entries) {
var visible = true;
status[kv.key] = ElementStatus(indexAll: index);
if (visible) {
if (visible && kv.key is! Nonvalue) {
index++;
}
}
Expand Down

0 comments on commit 1d6ff0b

Please sign in to comment.