fix for own error in r50482.

This commit is contained in:
Campbell Barton
2012-09-10 01:22:04 +00:00
parent 3ded533e28
commit 4249718649

View File

@@ -5856,6 +5856,9 @@ static int ui_handle_button_event(bContext *C, wmEvent *event, uiBut *but)
}
}
if (but->type != COL) { /* exception */
data->cancel = 1;
}
button_activate_state(C, but, BUTTON_STATE_EXIT);
break;
}