diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-06-09 10:24:13 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-06-09 10:24:55 +0200 |
commit | a7b2f3d41aa47d64ad783d5afb35d08e706bf8ea (patch) | |
tree | 610dce40eaecdf47ef70c7419fed97e568918c37 | |
parent | 201d5a7fc53c041e011ad7a79b805f5989216d28 (diff) |
Tweak the invalid preset error message to mention `export_presets.cfg`
-rw-r--r-- | editor/editor_node.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 86af5b742f..9a9a1bfdeb 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<EditorExportPlatform> platform = preset->get_platform(); if (platform.is_null()) { |