diff --git a/source/blender/editors/space_action/action_select.cc b/source/blender/editors/space_action/action_select.cc index bc9fb3ca7f4..0029353e622 100644 --- a/source/blender/editors/space_action/action_select.cc +++ b/source/blender/editors/space_action/action_select.cc @@ -1770,6 +1770,11 @@ static int mouse_action_keys(bAnimContext *ac, actkeys_find_key_at_position( ac, filter, mval[0], mval[1], &ale, &selx, &frame, &found, &is_selected); + /* If nothing selected, return #OPERATOR_CANCELLED.*/ + if (!found && ale == NULL) { + ret_value = OPERATOR_CANCELLED; + } + if (select_mode != SELECT_REPLACE) { wait_to_deselect_others = false; }