diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2007-10-11 02:24:26 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2007-10-11 02:24:26 +0400 |
commit | 5f6d775e0c9247d2f5979670037ca5468ee67b40 (patch) | |
tree | 0fae0044d80b644ef92a797914a0995cdd04ba53 /source/blender | |
parent | d51fbd2bf2c29b170878d16c8a751c46d5f3afa7 (diff) |
Fix for bug #7447
Pressing twice on a constraint or modifier button did 2 undo pushes,
the ROUNDBOX button they use also generated an undo push.
Diffstat (limited to 'source/blender')
-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 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"); |