forked from bartvdbraak/blender
Fix T52514: don't clear filename when dropping directory path in file browser.
This commit is contained in:
parent
64f8cc3e7d
commit
c82efd3276
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user