#11355 Use category if result name starts with FIP or ends with NUM

This commit is contained in:
Magne Sjaastad
2024-04-14 09:58:36 +02:00
parent 44e32fcff3
commit b9d9d53964
5 changed files with 19 additions and 3 deletions

View File

@@ -1419,6 +1419,8 @@ bool RimEclipseResultDefinition::isCompletionTypeSelected() const
//--------------------------------------------------------------------------------------------------
bool RimEclipseResultDefinition::hasCategoryResult() const
{
if ( RiaResultNames::isCategoryResult( m_resultVariable() ) ) return true;
if ( auto* gridCellResults = currentGridCellResults() )
{
const auto addresses = gridCellResults->existingResults();