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:
parent
b8c6a42f49
commit
5eace10d51
@ -211,12 +211,13 @@ void ListModel::packRequestFinished()
|
|||||||
if (pack.versions.empty())
|
if (pack.versions.empty())
|
||||||
{
|
{
|
||||||
qWarning() << "FTB Pack " << pack.id << " ignored. reason: lacking any versions";
|
qWarning() << "FTB Pack " << pack.id << " ignored. reason: lacking any versions";
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
beginInsertRows(QModelIndex(), modpacks.size(), modpacks.size());
|
beginInsertRows(QModelIndex(), modpacks.size(), modpacks.size());
|
||||||
modpacks.append(pack);
|
modpacks.append(pack);
|
||||||
endInsertRows();
|
endInsertRows();
|
||||||
|
}
|
||||||
|
|
||||||
if(!remainingPacks.isEmpty()) {
|
if(!remainingPacks.isEmpty()) {
|
||||||
currentPack = remainingPacks.at(0);
|
currentPack = remainingPacks.at(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user