Fix #12395: Ensure president name widget is tall enough. (#12419)

This commit is contained in:
Peter Nelson
2024-04-04 17:56:16 +01:00
committed by Loïc Guilloux
parent 0ee151623c
commit eb730cb7f8
2 changed files with 17 additions and 0 deletions

View File

@@ -1181,6 +1181,7 @@ CommandCost CmdRenamePresident(DoCommandFlag flags, const std::string &text)
}
}
InvalidateWindowClassesData(WC_COMPANY, 1);
MarkWholeScreenDirty();
CompanyAdminUpdate(c);
}