From 317c9b5fe90b31f8f5176e3941fb5aa3f9da85e8 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` (cherry picked from commit a7b2f3d41aa47d64ad783d5afb35d08e706bf8ea) --- 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 05bbbe6d545..d858002f796 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -593,7 +593,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()) {