Fix crash when editing hide-action filter

This commit is contained in:
Shadowfacts 2023-05-14 21:32:22 -04:00
parent dc83172aea
commit daa38772b4
1 changed files with 8 additions and 2 deletions

View File

@ -126,8 +126,14 @@ class Filterer {
break break
} else if old.0.pattern != new.0.pattern { } else if old.0.pattern != new.0.pattern {
allMatch = false allMatch = false
// continue because we want to know if any actions changed if new.1 == .hide {
continue // if the pattern's changed and the action is hide, then the cell type for existing items may change
actionsChanged = true
break
} else {
// continue because we want to know if any actions changed
continue
}
} }
} }
} }