Fix renaming files to same name with different case
This commit is contained in:
@@ -464,12 +464,6 @@ namespace FlaxEditor.Modules
|
||||
MessageBox.Show("Cannot move folder. Target location already exists.");
|
||||
return;
|
||||
}
|
||||
if (!item.IsFolder && File.Exists(newPath))
|
||||
{
|
||||
// Error
|
||||
MessageBox.Show("Cannot move file. Target location already exists.");
|
||||
return;
|
||||
}
|
||||
|
||||
// Find target parent
|
||||
var newDirPath = Path.GetDirectoryName(newPath);
|
||||
|
||||
Reference in New Issue
Block a user