summaryrefslogtreecommitdiff
path: root/tools/editor/editor_settings.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-06-12 15:34:58 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-06-12 15:34:58 -0300
commitd91120382991b021f0e39a39d4aff97ed8bfdbd9 (patch)
treeede64323e0d8c44536a9c2dba60ce3374ec7f695 /tools/editor/editor_settings.cpp
parentc1056a9bfb723d053c3bec9d9f8d84ecdc5e93f9 (diff)
project history was not being saved after a recent fix, this should fix it
Diffstat (limited to 'tools/editor/editor_settings.cpp')
-rw-r--r--tools/editor/editor_settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/editor_settings.cpp b/tools/editor/editor_settings.cpp
index 26c8826d87..0d0008fcb8 100644
--- a/tools/editor/editor_settings.cpp
+++ b/tools/editor/editor_settings.cpp
@@ -166,7 +166,7 @@ void EditorSettings::_get_property_list(List<PropertyInfo> *p_list) const {
pinfo|=PROPERTY_USAGE_STORAGE;
}
- if (!E->get().name.begins_with("_")) {
+ if (!E->get().name.begins_with("_") && !E->get().name.begins_with("projects/")) {
pinfo|=PROPERTY_USAGE_EDITOR;
} else {
pinfo|=PROPERTY_USAGE_STORAGE; //hiddens must always be saved