summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2019-08-17 18:20:17 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2019-08-28 22:34:29 +0200
commit5bd01bf6378b301f34ca23b55f501555e8724978 (patch)
treec0428591b5240624d23d247815560d2d9de8d8c5 /core
parent65d1b0b427cdccc5b2463cbc703b922d95075895 (diff)
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.
Diffstat (limited to 'core')
-rw-r--r--core/project_settings.cpp2
1 files changed, 2 insertions, 0 deletions
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<InputEventJoypadButton> 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);