mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Replaced use of capability template with convenience
This commit is contained in:
@@ -62,7 +62,7 @@ QString CmdAddItemExec::name()
|
||||
PdmChildArrayFieldHandle* listField = dynamic_cast<PdmChildArrayFieldHandle*>(field);
|
||||
if (listField)
|
||||
{
|
||||
PdmXmlFieldHandle* xfh = listField->capability<PdmXmlFieldHandle>();
|
||||
PdmXmlFieldHandle* xfh = listField->xmlCapability();
|
||||
containedObjectType = xfh->childClassKeyword();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user