#3467 Improved code using RimWellPathComponentInterface

This commit is contained in:
Gaute Lindkvist committed 2018-10-09 14:05:57 +02:00
1 parent 1019eeaa6a
commit e61e71ecbf
24 files changed
+121 -121

No files matched your search

@@ -99,7 +99,7 @@ void RicNewWellPathAttributeFeature::setupActionLook(QAction* actionToSetup)
caf::SelectionManager::instance()->objectsByType(&attributes, caf::SelectionManager::FIRST_LEVEL);
if (attributes.size() == 1u)
{
actionToSetup->setText(QString("Insert New Attribute before %1").arg(attributes[0]->completionTypeLabel()));
actionToSetup->setText(QString("Insert New Attribute before %1").arg(attributes[0]->componentTypeLabel()));
actionToSetup->setIcon(QIcon(":/Well.png"));
}
else