Sfoglia il codice sorgente

Do not show entries without name

nordsoft 2 anni fa
parent
commit
f10416be06
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      launcher/modManager/cmodlist.cpp

+ 1 - 1
launcher/modManager/cmodlist.cpp

@@ -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