From ef2a962bad7f16950b7e409fc2c04dc65e118783 Mon Sep 17 00:00:00 2001 From: Nuno Donato Date: Wed, 7 Jun 2017 22:50:24 +0100 Subject: [PATCH] Automatically open new project after creating it in project manager. Fixes #9075 (cherry picked from commit 9fd41416a910b412084da94b3d9bce6e1d6ebe1a) --- editor/project_manager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index 0611c81536f..6c83d87b806 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -900,8 +900,9 @@ void ProjectManager::_on_project_created(const String &dir) { _update_scroll_pos(dir); } else { _load_recent_projects(); - scroll->connect("draw", this, "_update_scroll_pos", varray(dir), CONNECT_ONESHOT); + _update_scroll_pos(dir); } + _open_project(); } void ProjectManager::_update_scroll_pos(const String &dir) {