Fix [#21371] Hover Paste doesn't work [27157]
authorMatt Ebb <matt@mke3.net>
Wed, 10 Mar 2010 05:57:03 +0000 (05:57 +0000)
committerMatt Ebb <matt@mke3.net>
Wed, 10 Mar 2010 05:57:03 +0000 (05:57 +0000)
source/blender/editors/interface/interface_handlers.c

index 9cf7edf2023060dadb4d1515562a524d2e63fb9a..4747cf057735ccea47fa5b5374b70aa554cc75fb 100644 (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);