From f0f1079ea48e72c898c6d491be3078bd6a3f5540 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 8 Jan 2022 02:32:53 +0100 Subject: [PATCH] Display automatically chosen value for the internal toast editor setting --- editor/editor_settings.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp index 02c78eb2a8a..bb0a2ed7c14 100644 --- a/editor/editor_settings.cpp +++ b/editor/editor_settings.cpp @@ -431,7 +431,11 @@ void EditorSettings::_load_defaults(Ref p_extra_config) { _initial_set("interface/editor/hide_console_window", false); _initial_set("interface/editor/mouse_extra_buttons_navigate_history", true); _initial_set("interface/editor/save_each_scene_on_quit", true); // Regression - EDITOR_SETTING(Variant::INT, PROPERTY_HINT_ENUM, "interface/editor/show_internal_errors_in_toast_notifications", 0, "Auto,Enabled,Disabled") +#ifdef DEV_ENABLED + EDITOR_SETTING(Variant::INT, PROPERTY_HINT_ENUM, "interface/editor/show_internal_errors_in_toast_notifications", 0, "Auto (Enabled),Enabled,Disabled") +#else + EDITOR_SETTING(Variant::INT, PROPERTY_HINT_ENUM, "interface/editor/show_internal_errors_in_toast_notifications", 0, "Auto (Disabled),Enabled,Disabled") +#endif // Inspector EDITOR_SETTING(Variant::INT, PROPERTY_HINT_RANGE, "interface/inspector/max_array_dictionary_items_per_page", 20, "10,100,1")