GH-1713 fix FTB loading crashes
This commit is contained in:
parent
01649f761d
commit
b6f133f579
3 changed files with 11 additions and 12 deletions
|
@ -159,7 +159,10 @@ InstanceList::InstListError InstanceList::loadList(bool complete)
|
|||
else
|
||||
{
|
||||
InstancePtr instPtr = provider->loadInstance(id);
|
||||
newList.append(instPtr);
|
||||
if(instPtr)
|
||||
{
|
||||
newList.append(instPtr);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue