mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Return root if reference is empty
This commit is contained in:
parent
edc6e427ec
commit
8e03c38901
@ -201,7 +201,6 @@ PdmFieldHandle* PdmReferenceHelper::fieldFromReference(PdmObjectHandle* root, co
|
||||
PdmObjectHandle* PdmReferenceHelper::objectFromReferenceStringList(PdmObjectHandle* root, const QStringList& reference)
|
||||
{
|
||||
if (!root) return NULL;
|
||||
if (reference.size() == 0) return NULL;
|
||||
|
||||
PdmObjectHandle* currentObject = root;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user