From e84e6e12ed39d1661aec236acfcfc899d01c7d0b Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Fri, 7 Aug 2020 11:34:59 +0200 Subject: Fix T79616: Sort by column in filebrowser is broken After changes in rBc606044157a3, mouse press events would be blocked by the selection operator. This only worked by chance before. --- source/blender/editors/space_file/file_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/space_file/file_ops.c b/source/blender/editors/space_file/file_ops.c index 45e45093238..6ce81f90de0 100644 --- a/source/blender/editors/space_file/file_ops.c +++ b/source/blender/editors/space_file/file_ops.c @@ -518,7 +518,7 @@ static int file_select_invoke(bContext *C, wmOperator *op, const wmEvent *event) rect.ymin = rect.ymax = event->mval[1]; if (!ED_fileselect_layout_is_inside_pt(sfile->layout, ®ion->v2d, rect.xmin, rect.ymin)) { - return OPERATOR_CANCELLED; + return OPERATOR_CANCELLED | OPERATOR_PASS_THROUGH; } if (sfile && sfile->params) { -- cgit v1.2.3