diff options
author | Ton Roosendaal <ton@blender.org> | 2010-02-07 20:10:51 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2010-02-07 20:10:51 +0300 |
commit | 120d3e03d88292e375c33f68cb405d219f9944fc (patch) | |
tree | 387dc9e5327443232675a7743fcb8f1df8a3d57f /source/blender/editors/interface/interface_handlers.c | |
parent | 3e598e74687a7362b3ad5c916a2f0bb227749f4f (diff) |
Fix for not being able to click on icons in Fileselect.
For some reason I thought I committed this like 10 days ago...
Diffstat (limited to 'source/blender/editors/interface/interface_handlers.c')
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index d3912e183c1..76a98479d55 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -2084,7 +2084,7 @@ static int ui_do_but_EXIT(bContext *C, uiBut *but, uiHandleButtonData *data, wmE /* pass on release as press for other keymaps XXX hack alert! */ if(event->type==LEFTMOUSE && event->val==KM_RELEASE) { button_activate_state(C, but, BUTTON_STATE_EXIT); - event->val= KM_PRESS; + event->val= KM_CLICK; return WM_UI_HANDLER_CONTINUE; } |