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
diff options
context:
space:
mode:
-rw-r--r--source/blender/src/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/interface.c b/source/blender/src/interface.c
index 38584943d6a..07debe8f864 100644
--- a/source/blender/src/interface.c
+++ b/source/blender/src/interface.c
@@ -4726,7 +4726,7 @@ static int ui_do_block(uiBlock *block, uiEvent *uevent)
/* add undo pushes if... */
if( !(block->flag & UI_BLOCK_LOOP)) {
if(!G.obedit) {
- if ELEM4(but->type, BLOCK, BUT, LABEL, PULLDOWN);
+ if ELEM5(but->type, BLOCK, BUT, LABEL, PULLDOWN, ROUNDBOX);
else {
/* define which string to use for undo */
if ELEM(but->type, LINK, INLINK) screen_delayed_undo_push("Add button link");