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:
parent
3d7e64a470
commit
3644ed3b1f
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user