Fix #120727: Filtering is case sensitive for Python UI-lists
Correct regression in b177f27e6f.
This commit is contained in:
@@ -224,7 +224,7 @@ class UI_UL_list(bpy.types.UIList):
|
||||
flags = [0] * len(items)
|
||||
|
||||
# Implicitly add heading/trailing wildcards.
|
||||
pattern_regex = re.compile(fnmatch.translate("*" + pattern + "*"))
|
||||
pattern_regex = re.compile(fnmatch.translate("*" + pattern + "*"), re.IGNORECASE)
|
||||
|
||||
for i, item in enumerate(items):
|
||||
name = getattr(item, propname, None)
|
||||
|
||||
Reference in New Issue
Block a user