#4096 Reorder case / time diff to put case diff first

This commit is contained in:
Gaute Lindkvist 2019-02-15 13:04:58 +01:00
parent eb0c2e4737
commit e0913d8a21

View File

@ -848,14 +848,14 @@ QString RimEclipseResultDefinition::diffResultUiShortName() const
{
diffResult += QString("Diff. Options:");
}
if (isTimeDiffResult())
{
diffResult += QString("Base Time: #%1").arg(m_timeLapseBaseTimestep());
}
if (isCaseDiffResult())
{
diffResult += QString("Base Case: #%1").arg(m_differenceCase()->caseId());
}
if (isTimeDiffResult())
{
diffResult += QString("Base Time: #%1").arg(m_timeLapseBaseTimestep());
}
return diffResult.join("\n");
}
@ -869,14 +869,14 @@ QString RimEclipseResultDefinition::diffResultUiShortNameHTML() const
{
diffResult += QString("<b>Diff. Options:</b>");
}
if (isTimeDiffResult())
{
diffResult += QString("Base Time: #%1").arg(m_timeLapseBaseTimestep());
}
if (isCaseDiffResult())
{
diffResult += QString("Base Case: #%1").arg(m_differenceCase()->caseId());
}
if (isTimeDiffResult())
{
diffResult += QString("Base Time: #%1").arg(m_timeLapseBaseTimestep());
}
return diffResult.join("\n<br>");
}