From 9cfffe84681bfa4dd43d0d2338feabf2ad9cfd29 Mon Sep 17 00:00:00 2001 From: Harley Acheson Date: Sat, 30 Oct 2021 14:02:34 -0700 Subject: UI: Open File Browser with Thumbnails for Fonts When browsing to open a font file, open File Browser in Thumbnail View and sorting by name, instead of using the last-used states. See D13040 for more details. Differential Revision: https://developer.blender.org/D13040 Reviewed by Julian Eisel --- source/blender/editors/curve/editfont.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/editors/curve/editfont.c b/source/blender/editors/curve/editfont.c index 1b44cf88db1..6f18798bd2a 100644 --- a/source/blender/editors/curve/editfont.c +++ b/source/blender/editors/curve/editfont.c @@ -2155,8 +2155,8 @@ void FONT_OT_open(wmOperatorType *ot) FILE_SPECIAL, FILE_OPENFILE, WM_FILESEL_FILEPATH | WM_FILESEL_RELPATH, - FILE_DEFAULTDISPLAY, - FILE_SORT_DEFAULT); + FILE_IMGDISPLAY, + FILE_SORT_ALPHA); } /** \} */ -- cgit v1.2.3