GH-1713 fix FTB loading crashes

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

No files matched your search

+4 -1
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);
}
}
}
};