1
0
Fork 0
mirror of synced 2024-05-02 19:44:09 +12:00

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

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 need_to_change_thing {
vec_of_iters.push(iter);
}
}
} else {
if need_to_change_thing {
vec_of_iters.push(iter);
}
}