You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Merge pull request #29815 from NilsIrl/plus_file_1
Replace ` + "/" + ` with `String::file_add()`
This commit is contained in:
@@ -1329,7 +1329,7 @@ void FileSystemDock::_duplicate_operation_confirm() {
|
||||
if (to_duplicate.is_file) {
|
||||
new_path = base_dir.plus_file(new_name);
|
||||
} else {
|
||||
new_path = base_dir.substr(0, base_dir.find_last("/")) + "/" + new_name;
|
||||
new_path = base_dir.substr(0, base_dir.find_last("/")).plus_file(new_name);
|
||||
}
|
||||
|
||||
//Present a more user friendly warning for name conflict
|
||||
|
||||
Reference in New Issue
Block a user