Fix for not being able to click on icons in Fileselect.

For some reason I thought I committed this like 10 days ago...
This commit is contained in:
2010-02-07 17:10:51 +00:00
parent 3e598e7468
commit 120d3e03d8

View File

@@ -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;
}