diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index 4651650577f..98f1fac484a 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -786,6 +786,9 @@ public: _test_path(); } + // Reset the dialog to its initial size. Otherwise, the dialog window would be too large + // when opening a small dialog after closing a large dialog. + set_size(get_minimum_size()); popup_centered_minsize(Size2(500, 0) * EDSCALE); }