#8782 Summary Plot: drag'n'drop data vector issue

Duplicate only matching vectors
More rename for Group
This commit is contained in:
Magne Sjaastad
2022-04-08 13:22:29 +02:00
parent 93614ef272
commit 8cdef0d861
6 changed files with 15 additions and 12 deletions
@@ -132,7 +132,7 @@ void RicAppendSummaryPlotsForObjectsFeature::setupActionLook( QAction* actionToS
{
objectType = "Wells";
}
else if ( firstAdr->contentType() == RimSummaryAddressCollection::CollectionContentType::WELL_GROUP )
else if ( firstAdr->contentType() == RimSummaryAddressCollection::CollectionContentType::GROUP )
{
objectType = "Groups";
}
@@ -218,7 +218,7 @@ bool RicAppendSummaryPlotsForObjectsFeature::isSelectionCompatibleWithPlot(
errorText = "Source plot must contain one well only to be able to duplicate a selection of wells";
}
}
else if ( selectionType == RimSummaryAddressCollection::CollectionContentType::WELL_GROUP )
else if ( selectionType == RimSummaryAddressCollection::CollectionContentType::GROUP )
{
if ( analyzer.groupNames().size() != 1 )
{
@@ -268,7 +268,7 @@ RifEclipseSummaryAddress
{
adr.setWellName( objectName );
}
else if ( summaryAddressCollection->contentType() == RimSummaryAddressCollection::CollectionContentType::WELL_GROUP )
else if ( summaryAddressCollection->contentType() == RimSummaryAddressCollection::CollectionContentType::GROUP )
{
adr.setGroupName( objectName );
}