1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Correctly update hero list on reordering via radial menu

This commit is contained in:
Ivan Savenko
2023-12-23 18:13:55 +02:00
parent 50536e28da
commit a08546e964
3 changed files with 10 additions and 0 deletions

View File

@ -331,6 +331,11 @@ void AdventureMapInterface::onTownOrderChanged()
widget->getTownList()->updateWidget();
}
void AdventureMapInterface::onHeroOrderChanged()
{
widget->getHeroList()->updateWidget();
}
void AdventureMapInterface::onMapTilesChanged(boost::optional<std::unordered_set<int3>> positions)
{
if (positions)