diff options
author | Julian Eisel <julian@blender.org> | 2020-08-07 12:34:59 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-08-07 12:39:04 +0300 |
commit | 5809dc6b5b60351867260f4dbe906a9969619264 (patch) | |
tree | da1a84b500d9df1173046329d84b0d04e273b685 | |
parent | a29686eeb3af051a00fbb8a8b9be06bcd050ec8c (diff) |
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.
-rw-r--r-- | source/blender/editors/space_file/file_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |