Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarley Acheson <harley.acheson@gmail.com>2021-10-31 00:02:34 +0300
committerHarley Acheson <harley.acheson@gmail.com>2021-10-31 00:02:34 +0300
commit9cfffe84681bfa4dd43d0d2338feabf2ad9cfd29 (patch)
tree4f82b5b146565e72dc9641c5a3151286bd355ff2
parent03a962d8cab44221650f59eb223cb0a767e05b2b (diff)
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
-rw-r--r--source/blender/editors/curve/editfont.c4
1 files 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);
}
/** \} */