Skip to content

Commit

Permalink
Merge pull request #9089 from nunodonato/autoopennew
Browse files Browse the repository at this point in the history
Automatically edit new project after creating it in project manager. Fixes #9075
  • Loading branch information
akien-mga authored Jun 8, 2017
2 parents 7570d95 + 9fd4141 commit 7a3d557
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion editor/project_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -914,8 +914,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) {
Expand Down

0 comments on commit 7a3d557

Please sign in to comment.