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.
This commit is contained in:
Julian Eisel 2020-08-07 11:34:59 +02:00
parent a29686eeb3
commit 5809dc6b5b
Notes: blender-bot 2023-02-14 09:34:18 +01:00
Referenced by issue #79616, Sort by column in filebrowser is broken
1 changed files with 1 additions and 1 deletions

View File

@ -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, &region->v2d, rect.xmin, rect.ymin)) {
return OPERATOR_CANCELLED;
return OPERATOR_CANCELLED | OPERATOR_PASS_THROUGH;
}
if (sfile && sfile->params) {