diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-07 04:46:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-07 04:46:53 +0400 |
commit | 808c2d840e296ffb26750185b27a2eb94b9eee48 (patch) | |
tree | 6573b075c9e16d1a85b7f08560dcebdb3c0480e4 /source/blender/editors/space_file | |
parent | 8011cbc751cc8eb3e3355f1037a8609909a53ee9 (diff) |
minor glitch in file selector, when opening with an operator sort wasn't set.
Diffstat (limited to 'source/blender/editors/space_file')
-rw-r--r-- | source/blender/editors/space_file/filesel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/filesel.c b/source/blender/editors/space_file/filesel.c index d33697bf5d6..8c45b161d26 100644 --- a/source/blender/editors/space_file/filesel.c +++ b/source/blender/editors/space_file/filesel.c @@ -244,9 +244,11 @@ short ED_fileselect_set_params(SpaceFile *sfile) params->display = FILE_SHORTDISPLAY; params->filter = 0; params->filter_glob[0] = '\0'; - params->sort = FILE_SORT_ALPHA; } + /* operator has no setting for this */ + params->sort = FILE_SORT_ALPHA; + /* initialize the list with previous folders */ if (!sfile->folders_prev) |