diff --git a/src/core/tracker.cpp b/src/core/tracker.cpp index 1be51a94..38f3141b 100644 --- a/src/core/tracker.cpp +++ b/src/core/tracker.cpp @@ -722,7 +722,7 @@ void Tracker::rebuildSectionRefs() _sectionRefs.clear(); for (const auto& pair: _sectionNameRefs) { const auto& target = getLocationSection(pair.first); - if (target.getName().empty()) + if (target.getParentID().empty() && target.getName().empty()) // TODO: Optional instead continue; for (const auto& sourceName: pair.second) { const auto& source = getLocationAndSection(sourceName);