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:
parent
40300972bc
commit
00789cb0d7
@ -214,6 +214,7 @@ void MapController::setMap(std::unique_ptr<CMap> cmap)
|
||||
main->enableRedo(allowRedo);
|
||||
}
|
||||
);
|
||||
_map->getEditManager()->getUndoManager().clearAll();
|
||||
}
|
||||
|
||||
void MapController::sceneForceUpdate()
|
||||
|
Loading…
Reference in New Issue
Block a user