1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-30 22:51:16 +01:00

Do not count errored maps as areas

This commit is contained in:
Martin Tůma 2021-07-11 12:54:45 +02:00
parent 3d7e64a470
commit 3644ed3b1f

View File

@ -1635,9 +1635,9 @@ void GUI::loadMapDirNode(const TreeNode<Map *> &node, QList<MapAction*> &actions
actions.append(a); actions.append(a);
} else } else
connect(a, &MapAction::loaded, this, &GUI::mapLoadedDir); connect(a, &MapAction::loaded, this, &GUI::mapLoadedDir);
}
_areaCount++; _areaCount++;
}
} else { } else {
map = a->data().value<Map*>(); map = a->data().value<Map*>();
if (map->isReady()) if (map->isReady())