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:
2020-08-07 11:34:59 +02:00
parent 1c294fb1fd
commit e84e6e12ed

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) {