mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3467 New interface class for completions +use RiaDefines::CompletionType
This commit is contained in:
@@ -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]->label()));
|
||||
actionToSetup->setText(QString("Insert New Attribute before %1").arg(attributes[0]->completionTypeLabel()));
|
||||
actionToSetup->setIcon(QIcon(":/Well.png"));
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user