Merge pull request #38706 from nathanfranke/fix-rename-sizing

Fix rename dialog size in 3.2
This commit is contained in:
Rémi Verschelde 2020-05-13 07:19:34 +02:00 committed by GitHub
commit ee7bde231c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -786,6 +786,9 @@ public:
_test_path(); _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); popup_centered_minsize(Size2(500, 0) * EDSCALE);
} }