|
@@ -68,13 +68,14 @@ void OptionsTab::recreate()
|
|
|
entries.clear();
|
|
entries.clear();
|
|
|
humanPlayers = 0;
|
|
humanPlayers = 0;
|
|
|
|
|
|
|
|
|
|
+ for (auto tooltipWindow : GH.windows().findWindows<CPlayerOptionTooltipBox>())
|
|
|
|
|
+ tooltipWindow->close();
|
|
|
|
|
+
|
|
|
for (auto heroOverview : GH.windows().findWindows<CHeroOverview>())
|
|
for (auto heroOverview : GH.windows().findWindows<CHeroOverview>())
|
|
|
heroOverview->close();
|
|
heroOverview->close();
|
|
|
|
|
|
|
|
for (auto selectionWindow : GH.windows().findWindows<SelectionWindow>())
|
|
for (auto selectionWindow : GH.windows().findWindows<SelectionWindow>())
|
|
|
- {
|
|
|
|
|
selectionWindow->reopen();
|
|
selectionWindow->reopen();
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
OBJECT_CONSTRUCTION;
|
|
OBJECT_CONSTRUCTION;
|
|
|
for(auto & pInfo : SEL->getStartInfo()->playerInfos)
|
|
for(auto & pInfo : SEL->getStartInfo()->playerInfos)
|