summaryrefslogtreecommitdiff
path: root/tools/editor
diff options
context:
space:
mode:
authormarynate <mary.w.nate@gmail.com>2014-06-25 11:43:45 +0800
committermarynate <mary.w.nate@gmail.com>2014-06-25 12:01:56 +0800
commitde7811ab422536800449e59900be4b3dcd2e4bcc (patch)
tree52685cb82e460d187c87601878d64c6acd6dd347 /tools/editor
parente086bccd63e64b8d3bd2b6b5ce000ef8abd71584 (diff)
Fix pinning project segfault
Diffstat (limited to 'tools/editor')
-rw-r--r--tools/editor/project_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/project_manager.cpp b/tools/editor/project_manager.cpp
index bd8f1641e2..d7ff4d7b64 100644
--- a/tools/editor/project_manager.cpp
+++ b/tools/editor/project_manager.cpp
@@ -442,7 +442,7 @@ void ProjectManager::_favorite_pressed(Node *p_hb) {
EditorSettings::get_singleton()->erase("favorite_projects/"+clicked);
}
EditorSettings::get_singleton()->save();
- _load_recent_projects();
+ call_deferred("_load_recent_projects");
}