@nyalldawson mapsToRestore is set if loading from project file. The idea is to make project loading fast by only draw composer maps if visible. If addItemsFromXML is called e.g. after copy paste, there is no need to disable updates of composer maps.