Don't implicitly call recalcRect()

This commit is contained in:
2025-03-14 14:33:09 -05:00
committed by Celtic Minstrel
parent ea8dbbc06c
commit 16703ae7a2
3 changed files with 6 additions and 5 deletions

View File

@@ -248,6 +248,7 @@ short choose_pattern(short cur_choice, cDialog* parent, bool expandRotatable) {
std::string id2 = id;
id2.replace(0, 3, "name");
pat_dlg[id2].setText(pat.name);
pat_dlg[id2].recalcRect();
if(pat.rotatable) {
if(!expandRotatable) {
choices.push_back(pat_id);