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 GitHub
parent 338def1b06
commit 197fb00d31
2 changed files with 17 additions and 0 deletions

View File

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