Fix group add/remove/rename not updating template replacement GUI in MP

This commit is contained in:
Jonathan G Rennison
2020-09-19 11:58:44 +01:00
parent 2ea3a7d6f4
commit a36e77c269
2 changed files with 3 additions and 1 deletions

View File

@@ -946,7 +946,6 @@ public:
void OnQueryTextFinished(char *str) override
{
if (str != nullptr) DoCommandP(0, this->group_rename, 0, CMD_ALTER_GROUP | CMD_MSG(STR_ERROR_GROUP_CAN_T_RENAME), nullptr, str);
InvalidateWindowData(WC_TEMPLATEGUI_MAIN, 0, 0, 0);
this->group_rename = INVALID_GROUP;
}