NOISSUE Continue requesting packs after ignoring one

This was a mishap on my part, fortunately quickly exposed as the
combination of GH-3463 and GH-3464 made no packs visible.
This commit is contained in:
Jamie Mansfield 2020-11-29 13:58:20 +00:00
parent b8c6a42f49
commit 5eace10d51
No known key found for this signature in database
GPG Key ID: 36F61598F39F67B0

View File

@ -211,12 +211,13 @@ void ListModel::packRequestFinished()
if (pack.versions.empty())
{
qWarning() << "FTB Pack " << pack.id << " ignored. reason: lacking any versions";
return;
}
else
{
beginInsertRows(QModelIndex(), modpacks.size(), modpacks.size());
modpacks.append(pack);
endInsertRows();
}
if(!remainingPacks.isEmpty()) {
currentPack = remainingPacks.at(0);