Fix not proper custom selecting with "not select all" option (#632)

This commit is contained in:
Rafał Mikrut 2022-02-18 20:15:43 +01:00 committed by GitHub
parent 2b86e9079e
commit ff71e2b57a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 6 deletions

View File

@ -449,14 +449,16 @@ fn popover_custom_select_unselect(
}
}
if need_to_change_thing {
if select_things {
if is_selected {
number_of_already_selected_things += 1;
} else {
if select_things {
if is_selected {
number_of_already_selected_things += 1;
} else {
if need_to_change_thing {
vec_of_iters.push(iter);
}
} else {
}
} else {
if need_to_change_thing {
vec_of_iters.push(iter);
}
}