Merge pull request 'fix(dtmm): Fix the enabled checkbox in the mod list' (#67) from fix/enabled-checkbox into master
Reviewed-on: #67
This commit is contained in:
commit
882000fce6
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ fn build_mod_list() -> impl Widget<State> {
|
|||
},
|
||||
|state, infos| {
|
||||
infos.into_iter().for_each(|(i, new, _)| {
|
||||
if Data::same(&state.mods.get(i).cloned(), &Some(new.clone())) {
|
||||
if !Data::same(&state.mods.get(i).cloned(), &Some(new.clone())) {
|
||||
state.mods.set(i, new);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue