diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-10-06 01:18:57 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2017-10-06 01:18:57 +0300 |
commit | c82efd3276b2f377bc9420eb7fb75d20d2a7a88a (patch) | |
tree | 25142d3d28a44c4d0d8e670e6989675e49fdb966 /source/blender | |
parent | 64f8cc3e7d5d13c60845cef8c7a0e0cd6f3f58d2 (diff) |
Fix T52514: don't clear filename when dropping directory path in file browser.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_file/file_ops.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/file_ops.c b/source/blender/editors/space_file/file_ops.c index b7228f634bf..ab1bcbaa8b5 100644 --- a/source/blender/editors/space_file/file_ops.c +++ b/source/blender/editors/space_file/file_ops.c @@ -1302,7 +1302,6 @@ void file_sfile_filepath_set(SpaceFile *sfile, const char *filepath) if (BLI_is_dir(filepath)) { BLI_strncpy(sfile->params->dir, filepath, sizeof(sfile->params->dir)); - sfile->params->file[0] = '\0'; } else { if ((sfile->params->flag & FILE_DIRSEL_ONLY) == 0) { |