mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-03 03:46:58 +03:00
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
1 changed files with 6 additions and 5 deletions
|
|
@ -211,12 +211,13 @@ void ListModel::packRequestFinished()
|
|||
if (pack.versions.empty())
|
||||
{
|
||||
qWarning() << "FTB Pack " << pack.id << " ignored. reason: lacking any versions";
|
||||
return;
|
||||
}
|
||||
|
||||
beginInsertRows(QModelIndex(), modpacks.size(), modpacks.size());
|
||||
modpacks.append(pack);
|
||||
endInsertRows();
|
||||
else
|
||||
{
|
||||
beginInsertRows(QModelIndex(), modpacks.size(), modpacks.size());
|
||||
modpacks.append(pack);
|
||||
endInsertRows();
|
||||
}
|
||||
|
||||
if(!remainingPacks.isEmpty()) {
|
||||
currentPack = remainingPacks.at(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue