diff options
Diffstat (limited to 'source/blender/editors/interface/interface_handlers.c')
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index 0548ed55290..989383215cd 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -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; } |