瀏覽代碼

Better solution

nordsoft 2 年之前
父節點
當前提交
e82df8c726
共有 1 個文件被更改,包括 1 次插入1 次删除
  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()) && !getValue("name").isNull();
+	return !localData.isEmpty() || (!repository.isEmpty() && !repository.contains("mod"));
 }
 
 bool CModEntry::isTranslation() const