From 814f72c524cc25c9be47561903d74c8f73baa2d0 Mon Sep 17 00:00:00 2001 From: nathanwfranke Date: Tue, 12 May 2020 18:28:38 -0500 Subject: [PATCH] Fix rename dialog size in 3.2 --- editor/project_manager.cpp | 3 +++ 1 file changed, 3 insertions(+) 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); }