GH-1713 fix FTB loading crashes

This commit is contained in:
Petr Mrázek
2016-11-09 01:22:02 +01:00
parent 01649f761d
commit b6f133f579
3 changed files with 11 additions and 12 deletions

View File

@ -159,7 +159,10 @@ InstanceList::InstListError InstanceList::loadList(bool complete)
else
{
InstancePtr instPtr = provider->loadInstance(id);
newList.append(instPtr);
if(instPtr)
{
newList.append(instPtr);
}
}
}
};