diff options
Diffstat (limited to 'source/blender/src/interface.c')
-rw-r--r-- | source/blender/src/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/interface.c b/source/blender/src/interface.c index 29f8a805153..f7fa04982cc 100644 --- a/source/blender/src/interface.c +++ b/source/blender/src/interface.c @@ -3091,7 +3091,7 @@ static int ui_do_block(uiBlock *block, uiEvent *uevent) if(inside || uevent->event!=LEFTMOUSE) { butevent= ui_do_button(block, but, uevent); - if(but->type!=BLOCK) BIF_write_undo(but->str); + if(but->type!=BLOCK && but->type!=MENU) BIF_write_undo(but->str); if(butevent) addqueue(block->winq, UI_BUT_EVENT, (short)butevent); |