diff options
author | Andrea Weikert <elubie@gmx.net> | 2012-10-27 21:47:58 +0400 |
---|---|---|
committer | Andrea Weikert <elubie@gmx.net> | 2012-10-27 21:47:58 +0400 |
commit | 89b7e2257884388de36c7e963a6ba4de17986b89 (patch) | |
tree | 70f4f3cca83c51a6797837d1c665379de626a3b4 /source/blender/editors/space_file/filelist.c | |
parent | 3f88ca0d80150707e4be5b606ca54807a4f84b5e (diff) |
== filebrowser ==
PATCH: [#32985] File Browser text file icon does not match text filter icon
Contributed by Georg Kronthaler, many thanks!
* set correct icon for text files and drag&drop
* remove duplicate if for filter_text
* fixed a couple of blanks at the end of line.
Diffstat (limited to 'source/blender/editors/space_file/filelist.c')
-rw-r--r-- | source/blender/editors/space_file/filelist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c index 6afc0305115..562fcfd633d 100644 --- a/source/blender/editors/space_file/filelist.c +++ b/source/blender/editors/space_file/filelist.c @@ -833,6 +833,8 @@ int ED_file_extension_icon(const char *relname) return ICON_FILE_BLANK; else if (type == COLLADAFILE) return ICON_FILE_BLANK; + else if (type == TEXTFILE) + return ICON_FILE_TEXT; return ICON_FILE_BLANK; } |