From 3644ed3b1f15c8a1aa6b6f62091a4dc84862aa23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 11 Jul 2021 12:54:45 +0200 Subject: [PATCH] Do not count errored maps as areas --- src/GUI/gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GUI/gui.cpp b/src/GUI/gui.cpp index cbc232cc..3da646ce 100644 --- a/src/GUI/gui.cpp +++ b/src/GUI/gui.cpp @@ -1635,9 +1635,9 @@ void GUI::loadMapDirNode(const TreeNode &node, QList &actions actions.append(a); } else connect(a, &MapAction::loaded, this, &GUI::mapLoadedDir); - } - _areaCount++; + _areaCount++; + } } else { map = a->data().value(); if (map->isReady())