1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

Attempt renaming multiple times on safe file save, and make the behavior optional. Fixes #14339.

This commit is contained in:
Juan Linietsky
2018-01-12 17:03:08 -03:00
parent d486cae701
commit e56b3439a5
2 changed files with 26 additions and 15 deletions

View File

@@ -4749,7 +4749,7 @@ EditorNode::EditorNode() {
scene_distraction = false;
script_distraction = false;
FileAccess::set_backup_save(true);
FileAccess::set_backup_save(EDITOR_DEF("filesystem/on_save/safe_save_on_backup_then_rename", true));
TranslationServer::get_singleton()->set_enabled(false);
// load settings