1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

Do not show entries without name

This commit is contained in:
nordsoft 2023-09-18 00:47:11 +02:00 committed by Ivan Savenko
parent 3fe10f9c7b
commit f10416be06

View File

@ -105,7 +105,7 @@ bool CModEntry::isVisible() const
return false;
}
return !localData.isEmpty() || !repository.isEmpty();
return (!localData.isEmpty() || !repository.isEmpty()) && !getValue("name").isNull();
}
bool CModEntry::isTranslation() const