#5019 Intersections have first data source as ianctive default

Icon state update for IResDefCollection
This commit is contained in:
Jacob Støren
2019-11-12 14:00:30 +01:00
parent fec449dc43
commit 62ed71ed76
7 changed files with 139 additions and 33 deletions

View File

@@ -89,7 +89,7 @@ bool RimIntersectionResultDefinition::isActive()
QString RimIntersectionResultDefinition::autoName() const
{
QString timestepName;
QString caseName;
QString caseName = "Default undefined source";
if ( m_case )
{
@@ -115,7 +115,7 @@ QString RimIntersectionResultDefinition::autoName() const
m_geomResultDefinition->resultComponentUiName();
}
return caseName + " " + resultVarUiName + " " + timestepName;
return resultVarUiName + " " + timestepName + " " + caseName;
}
//--------------------------------------------------------------------------------------------------