Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-04-11 09:33:43 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-04-11 09:33:43 +0400
commitd4d88de2b0447841d7f72f2f24885fee742abb0e (patch)
tree3cd105f98f50cf9ae1941213636694fb00532578 /source
parent2d1e66344073d549c791c4226d3f8e5583b87e57 (diff)
fix [#26856] Can't change target object in modifier by Ctrl+V
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/interface/interface_handlers.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c
index 47713cdb13c..d3aa5bc9132 100644
--- a/source/blender/editors/interface/interface_handlers.c
+++ b/source/blender/editors/interface/interface_handlers.c
@@ -1164,6 +1164,10 @@ static void ui_but_copy_paste(bContext *C, uiBut *but, uiHandleButtonData *data,
else {
button_activate_state(C, but, BUTTON_STATE_TEXT_EDITING);
BLI_strncpy(active_data->str, buf, active_data->maxlen);
+ if(but->type == SEARCH_MENU) {
+ /* else uiSearchboxData.active member is not updated [#26856] */
+ ui_searchbox_update(C, data->searchbox, but, 1);
+ }
button_activate_state(C, but, BUTTON_STATE_EXIT);
}
}