1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00

Cleanup undo stack for new map

This commit is contained in:
nordsoft 2022-12-03 19:52:56 +04:00
parent 40300972bc
commit 00789cb0d7

View File

@ -214,6 +214,7 @@ void MapController::setMap(std::unique_ptr<CMap> cmap)
main->enableRedo(allowRedo);
}
);
_map->getEditManager()->getUndoManager().clearAll();
}
void MapController::sceneForceUpdate()