mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
Fix rename mapping
This commit is contained in:
parent
fa66c0a521
commit
dd52dd69d9
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ Window {
|
|||
function doRenameFile(oldPath, newPath) {
|
||||
console.log("Renaming " + oldPath + " to " + newPath);
|
||||
|
||||
Assets.renameMapping(oldPath, destinationPath, function(err) {
|
||||
Assets.renameMapping(oldPath, newPath, function(err) {
|
||||
print("Finished rename: ", err);
|
||||
reload();
|
||||
});
|
||||
|
@ -121,7 +121,7 @@ Window {
|
|||
});
|
||||
object.selected.connect(function(destinationPath) {
|
||||
if (fileExists(destinationPath)) {
|
||||
askForOverride(path, function() {
|
||||
askForOverride(destinationPath, function() {
|
||||
doRenameFile(path, destinationPath);
|
||||
});
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue