mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-19 04:02:09 +01:00
Fixed crash on empty IMG/GMAP maps
This commit is contained in:
parent
20aaf68405
commit
81f695a672
@ -109,6 +109,9 @@ void MapData::computeZooms()
|
||||
zooms.insert(z.at(i));
|
||||
}
|
||||
|
||||
if (zooms.isEmpty())
|
||||
return;
|
||||
|
||||
_zooms = zooms.values();
|
||||
std::sort(_zooms.begin(), _zooms.end());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user