mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-05 15:05:40 +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…
x
Reference in New Issue
Block a user