From 5bd01bf6378b301f34ca23b55f501555e8724978 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 17 Aug 2019 18:20:17 +0200 Subject: Add a project description setting The description is displayed as a tooltip when hovering the project in the Project Manager. It can span multiple lines. This partially addresses #8167. --- core/project_settings.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/project_settings.cpp') diff --git a/core/project_settings.cpp b/core/project_settings.cpp index eb88143db3..ec2c5ecbb3 100644 --- a/core/project_settings.cpp +++ b/core/project_settings.cpp @@ -1000,6 +1000,8 @@ ProjectSettings::ProjectSettings() { Ref joyb; GLOBAL_DEF("application/config/name", ""); + GLOBAL_DEF("application/config/description", ""); + custom_prop_info["application/config/description"] = PropertyInfo(Variant::STRING, "application/config/description", PROPERTY_HINT_MULTILINE_TEXT); GLOBAL_DEF("application/run/main_scene", ""); custom_prop_info["application/run/main_scene"] = PropertyInfo(Variant::STRING, "application/run/main_scene", PROPERTY_HINT_FILE, "*.tscn,*.scn,*.res"); GLOBAL_DEF("application/run/disable_stdout", false); -- cgit v1.2.3