aboutsummaryrefslogtreecommitdiff
path: root/editor/project_manager.cpp
diff options
context:
space:
mode:
authorIgnacio Etcheverry2017-08-13 16:21:45 +0200
committerIgnacio Etcheverry2017-08-19 01:03:12 +0200
commitfd69604bd9dc743494a7818f25f384cc7f521b33 (patch)
tree1235c83520faa5b29eba8484b941580f35a03cb5 /editor/project_manager.cpp
parentff2cb35b90f5661d1bb5fb00fa657a9539449be0 (diff)
downloadgodot-fd69604bd9dc743494a7818f25f384cc7f521b33.tar.gz
godot-fd69604bd9dc743494a7818f25f384cc7f521b33.tar.zst
godot-fd69604bd9dc743494a7818f25f384cc7f521b33.zip
Adds editor_hint to Engine class
Diffstat (limited to 'editor/project_manager.cpp')
-rw-r--r--editor/project_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp
index b77544bef..8970d956f 100644
--- a/editor/project_manager.cpp
+++ b/editor/project_manager.cpp
@@ -465,6 +465,7 @@ void ProjectManager::_notification(int p_what) {
if (p_what == NOTIFICATION_ENTER_TREE) {
+ Engine::get_singleton()->set_editor_hint(true);
get_tree()->set_editor_hint(true);
} else if (p_what == NOTIFICATION_VISIBILITY_CHANGED) {
@@ -966,7 +967,6 @@ void ProjectManager::_run_project_confirm() {
return;
}
-
const String &selected = E->key();
String path = EditorSettings::get_singleton()->get("projects/" + selected);