diff --git a/qutebrowser/config/conftypes.py b/qutebrowser/config/conftypes.py index 2d2e416b3..4c660b72d 100644 --- a/qutebrowser/config/conftypes.py +++ b/qutebrowser/config/conftypes.py @@ -751,10 +751,12 @@ class RegexList(List): def validate(self, value): try: - self.transform(value) + vals = self.transform(value) except RegexError as e: raise ValidationError(value, "must be a list valid regexes - " + str(e)) + if not self.none_ok and None in vals: + raise ValidationError(value, "items may not be empty!") class File(BaseType):