Merge pull request #100863 from larspet/project-list-placeholder
ProjectManager: Update project list placeholder when project is created
This commit is contained in:
commit
c3c0c24d1e
1 changed files with 3 additions and 0 deletions
|
|
@ -715,9 +715,12 @@ void ProjectManager::_on_project_created(const String &dir, bool edit) {
|
|||
project_list->add_project(dir, false);
|
||||
project_list->save_config();
|
||||
search_box->clear();
|
||||
|
||||
int i = project_list->refresh_project(dir);
|
||||
project_list->select_project(i);
|
||||
project_list->ensure_project_visible(i);
|
||||
_update_project_buttons();
|
||||
_update_list_placeholder();
|
||||
|
||||
if (edit) {
|
||||
_open_selected_projects_ask();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue