Fix #114667: UI List search broken when class names >32 chars

The list identifier includes the class name and an list_id,
see: WM_uilisttype_to_full_list_id

This requires using UI_MAX_NAME_STR (as noted in doc-string).
This commit is contained in:
Campbell Barton 2024-03-20 14:38:50 +11:00
parent 130ce5f53d
commit 729949669e
1 changed files with 2 additions and 2 deletions

View File

@ -293,7 +293,7 @@ typedef struct uiList { /* some list UI data need to be saved in file */
struct uiListType *type;
/** Defined as UI_MAX_NAME_STR. */
char list_id[64];
char list_id[128];
/** How items are laid out in the list. */
int layout_type;
@ -306,7 +306,7 @@ typedef struct uiList { /* some list UI data need to be saved in file */
/* Filtering data. */
/** Defined as UI_MAX_NAME_STR. */
char filter_byname[64];
char filter_byname[128];
int filter_flag;
int filter_sort_flag;