Fix [#21371] Hover Paste doesn't work [27157]

This commit is contained in:
2010-03-10 05:57:03 +00:00
parent 8b92e0664b
commit f137c4535a

View File

@@ -1032,7 +1032,7 @@ static void ui_but_copy_paste(bContext *C, uiBut *but, uiHandleButtonData *data,
}
/* text/string and ID data */
else if(ELEM(but->type, TEX, IDPOIN)) {
else if(ELEM3(but->type, TEX, IDPOIN, SEARCH_MENU)) {
uiHandleButtonData *data= but->active;
if(but->poin==NULL && but->rnapoin.data==NULL);