Fix T68623: bpy.types.UI_UL_list.filter_items_by_name is case sensitive.
Was a mismatch with default behavior from C-defined basic UI list...
This commit is contained in:
parent
b4051db4fc
commit
c47c7a44b2
Notes:
blender-bot
2023-02-14 05:43:04 +01:00
Referenced by issue #68623, bpy.types.UI_UL_list.filter_items_by_name is case sensitive
|
@ -201,7 +201,7 @@ class UI_UL_list(bpy.types.UIList):
|
|||
for i, item in enumerate(items):
|
||||
name = getattr(item, propname, None)
|
||||
# This is similar to a logical xor
|
||||
if bool(name and fnmatch.fnmatchcase(name, pattern)) is not bool(reverse):
|
||||
if bool(name and fnmatch.fnmatch(name, pattern)) is not bool(reverse):
|
||||
flags[i] |= bitflag
|
||||
return flags
|
||||
|
||||
|
|
Loading…
Reference in New Issue