Automatically open new project after creating it in project manager.
Fixes #9075
This commit is contained in:
parent
840ac8c018
commit
9fd41416a9
1 changed files with 2 additions and 1 deletions
|
@ -914,8 +914,9 @@ void ProjectManager::_on_project_created(const String &dir) {
|
||||||
_update_scroll_pos(dir);
|
_update_scroll_pos(dir);
|
||||||
} else {
|
} else {
|
||||||
_load_recent_projects();
|
_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) {
|
void ProjectManager::_update_scroll_pos(const String &dir) {
|
||||||
|
|
Loading…
Reference in a new issue