forked from shadowfacts/Tusker
Fix crash when editing hide-action filter
This commit is contained in:
parent
dc83172aea
commit
daa38772b4
|
@ -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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue