mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Cleanup undo stack for new map
This commit is contained in:
@@ -214,6 +214,7 @@ void MapController::setMap(std::unique_ptr<CMap> cmap)
|
||||
main->enableRedo(allowRedo);
|
||||
}
|
||||
);
|
||||
_map->getEditManager()->getUndoManager().clearAll();
|
||||
}
|
||||
|
||||
void MapController::sceneForceUpdate()
|
||||
|
Reference in New Issue
Block a user