Copy of old pp3 kept when renaming file, Issue 2266
This commit is contained in:
@@ -991,9 +991,10 @@ void FileCatalog::renameRequested (std::vector<FileBrowserEntry*> tbe) {
|
||||
}
|
||||
else {
|
||||
success = true;
|
||||
if (!safe_g_rename (ofname, nfname)) {
|
||||
cacheMgr->renameEntry (ofname, tbe[i]->thumbnail->getMD5(), nfname);
|
||||
reparseDirectory ();
|
||||
if (!safe_g_rename (ofname, nfname)) {
|
||||
cacheMgr->renameEntry (ofname, tbe[i]->thumbnail->getMD5(), nfname);
|
||||
safe_g_remove(ofname + paramFileExtension);
|
||||
reparseDirectory ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user