1
0
Fork 0

ProjectManager: Update project list placeholder when project created or imported.

This commit is contained in:
Lars Pettersson 2024-12-27 23:31:50 +01:00
parent 89001f91d2
commit c5b61d4d82
No known key found for this signature in database
GPG Key ID: CC050E7B46DF7540
1 changed files with 3 additions and 0 deletions

View File

@ -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();