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:
parent
130ce5f53d
commit
729949669e
|
@ -293,7 +293,7 @@ typedef struct uiList { /* some list UI data need to be saved in file */
|
||||||
struct uiListType *type;
|
struct uiListType *type;
|
||||||
|
|
||||||
/** Defined as UI_MAX_NAME_STR. */
|
/** Defined as UI_MAX_NAME_STR. */
|
||||||
char list_id[64];
|
char list_id[128];
|
||||||
|
|
||||||
/** How items are laid out in the list. */
|
/** How items are laid out in the list. */
|
||||||
int layout_type;
|
int layout_type;
|
||||||
|
@ -306,7 +306,7 @@ typedef struct uiList { /* some list UI data need to be saved in file */
|
||||||
|
|
||||||
/* Filtering data. */
|
/* Filtering data. */
|
||||||
/** Defined as UI_MAX_NAME_STR. */
|
/** Defined as UI_MAX_NAME_STR. */
|
||||||
char filter_byname[64];
|
char filter_byname[128];
|
||||||
int filter_flag;
|
int filter_flag;
|
||||||
int filter_sort_flag;
|
int filter_sort_flag;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue