Bugfix #26462
Using "search menu" for browsing ID data (material, texture, brush) wasn't sending an undo-push after use. This messed up undo or redo.
This commit is contained in:
@@ -191,6 +191,8 @@ static uiBlock *id_search_menu(bContext *C, ARegion *ar, void *arg_litem)
|
||||
|
||||
/* give search-field focus */
|
||||
uiButSetFocusOnEnter(win, but);
|
||||
/* this type of search menu requires undo */
|
||||
but->flag |= UI_BUT_UNDO;
|
||||
|
||||
return block;
|
||||
}
|
||||
|
Reference in New Issue
Block a user