Merge pull request #546 from marynate/PR-fix-pin-project-segfault

Fix #526 segfault when pinning projects
This commit is contained in:
reduz 2014-06-29 19:04:46 -03:00
commit 4dc7b0f3b8

View File

@ -442,7 +442,7 @@ void ProjectManager::_favorite_pressed(Node *p_hb) {
EditorSettings::get_singleton()->erase("favorite_projects/"+clicked); EditorSettings::get_singleton()->erase("favorite_projects/"+clicked);
} }
EditorSettings::get_singleton()->save(); EditorSettings::get_singleton()->save();
_load_recent_projects(); call_deferred("_load_recent_projects");
} }