From a7b2f3d41aa47d64ad783d5afb35d08e706bf8ea Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Tue, 9 Jun 2020 10:24:13 +0200 Subject: [PATCH] Tweak the invalid preset error message to mention `export_presets.cfg` --- editor/editor_node.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 86af5b742f0..9a9a1bfdeb1 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -619,7 +619,9 @@ void EditorNode::_fs_changed() { preset.unref(); } if (preset.is_null()) { - export_error = vformat("Invalid export preset name: %s.", preset_name); + export_error = vformat( + "Invalid export preset name: %s. Make sure `export_presets.cfg` is present in the current directory.", + preset_name); } else { Ref platform = preset->get_platform(); if (platform.is_null()) {