Repository: godotengine/godot (language: cpp)

Issue:
Project Manager does not refresh properly when importing a project with Edit Now disabled
### Tested versions

-Reproducible in: 4.4.dev7 [46c8f8c5c]
-Not reproducible in 4.3.stable.official [77dcf97d8]

### System information

Godot v4.4.dev7 - macOS Sequoia (15.2.0) - Multi-window, 2 monitors - Metal (Mobile) - integrated Apple M1 Pro (Apple7) - Apple M1 Pro (10 threads)

### Issue description

In last dev7 build if we have no projects, it's possible to import a project but disable the "Edit Now" checkbox, this causes the window to not refresh properly and we end up in a state where it shows the project but the "No projects" message still show up

If we import with "Edit Now" disabled
![Image](https://github.com/user-attachments/assets/33c740bb-60ab-44c7-9ab3-91712fe36cba)

It shows the project but also the existing message.

![Image](https://github.com/user-attachments/assets/5eaaf485-5cd4-4056-bf84-12cc4fb35934)

This would not happen in 4.3 because we were always forced to Edit it. 

![Image](https://github.com/user-attachments/assets/a3c7d6bd-7fe3-4c3e-8a0e-5156dbb960d1)

### Steps to reproduce

- Boot Godot
- In the project manager, and with no projects listed (remove if any) try to import one but deselect "Edit Now"
- Notice the message of "No projects" still shows but the imported project is now on the list as well

### Minimal reproduction project (MRP)

N/A


Discussion / hints:

Fix patch:
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp
index b804d27cc1b3..5a68df0a17f3 100644
--- a/editor/project_manager.cpp
+++ b/editor/project_manager.cpp
@@ -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();


Test patch: