Fix crash when editing hide-action filter
This commit is contained in:
parent
dc83172aea
commit
daa38772b4
|
@ -126,11 +126,17 @@ class Filterer {
|
|||
break
|
||||
} else if old.0.pattern != new.0.pattern {
|
||||
allMatch = false
|
||||
if new.1 == .hide {
|
||||
// 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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if !allMatch {
|
||||
generation += 1
|
||||
filtersChanged?(actionsChanged)
|
||||
|
|
Loading…
Reference in New Issue