bugfix [#23784] Renaming files broken in the file selector

This commit is contained in:
2010-09-22 05:32:39 +00:00
parent 916085247a
commit 1632db7b71

View File

@@ -1169,6 +1169,8 @@ int file_rename_exec(bContext *C, wmOperator *op)
if ( (0<=idx) && (idx<numfiles) ) {
struct direntry *file= filelist_file(sfile->files, idx);
file->flags |= EDITING;
BLI_strncpy(sfile->params->renameedit, file->relname, FILE_MAXFILE);
sfile->params->renamefile[0]= '\0';
}
ED_area_tag_redraw(sa);
}