diff options
author | Ton Roosendaal <ton@blender.org> | 2005-10-03 21:10:18 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-10-03 21:10:18 +0400 |
commit | 3eb1f04509eee7234d119166373dc4342c21abfa (patch) | |
tree | cfc710d7911c92fcdd90ced5ea49f6555fdeaa22 /source/blender/src/interface.c | |
parent | 15c5fb7e41f9a02122844adbf7be033001a47d2a (diff) |
A fix for the menu button yesterday broke something else... the menu button
should return a non existing event instead. :)
Thanks elubie for reporting!
Diffstat (limited to 'source/blender/src/interface.c')
-rw-r--r-- | source/blender/src/interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/interface.c b/source/blender/src/interface.c index f7429c3bc57..039a349c54f 100644 --- a/source/blender/src/interface.c +++ b/source/blender/src/interface.c @@ -1225,8 +1225,8 @@ static int ui_do_but_MENU(uiBut *but) uibut_do_func(but); - if(event == UI_NOTHING) return 0; - else return but->retval; + /* return no existing event, because the menu sends events instead */ + return -1; } |