UI: Show folders when selecting font #117389
|
@ -350,6 +350,7 @@ static int file_browse_invoke(bContext *C, wmOperator *op, const wmEvent *event)
|
|||
path = BLI_strdup(U.fontdir);
|
||||
}
|
||||
RNA_boolean_set(op->ptr, "filter_font", true);
|
||||
RNA_boolean_set(op->ptr, "filter_folder", true);
|
||||
RNA_enum_set(op->ptr, "display_type", FILE_IMGDISPLAY);
|
||||
RNA_enum_set(op->ptr, "sort_method", FILE_SORT_ALPHA);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue