|
@@ -1445,6 +1445,9 @@ void EditorNode::_dialog_display_load_error(String p_file, Error p_error) {
|
|
|
case ERR_FILE_NOT_FOUND: {
|
|
|
show_accept(vformat(TTR("Missing file '%s' or one of its dependencies."), p_file.get_file()), TTR("OK"));
|
|
|
} break;
|
|
|
+ case ERR_FILE_UNRECOGNIZED: {
|
|
|
+ show_accept(vformat(TTR("File '%s' is saved in a format that is newer than the formats supported by this version of Godot, so it can't be opened."), p_file.get_file()), TTR("OK"));
|
|
|
+ } break;
|
|
|
default: {
|
|
|
show_accept(vformat(TTR("Error while loading file '%s'."), p_file.get_file()), TTR("OK"));
|
|
|
} break;
|
|
@@ -6642,6 +6645,8 @@ EditorNode::EditorNode() {
|
|
|
main_menu->set_menu_tooltip(0, TTR("Operations with scene files."));
|
|
|
|
|
|
accept = memnew(AcceptDialog);
|
|
|
+ accept->set_autowrap(true);
|
|
|
+ accept->set_min_size(Vector2i(600, 0));
|
|
|
accept->set_unparent_when_invisible(true);
|
|
|
|
|
|
save_accept = memnew(AcceptDialog);
|