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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2007-10-11 02:24:26 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2007-10-11 02:24:26 +0400
commit5f6d775e0c9247d2f5979670037ca5468ee67b40 (patch)
tree0fae0044d80b644ef92a797914a0995cdd04ba53 /source
parentd51fbd2bf2c29b170878d16c8a751c46d5f3afa7 (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')
-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");