mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Merge pull request #5445 from OPM/native-case-name
Summary Case : Add public methods displayCaseName and nativeCaseName
This commit is contained in:
@@ -116,7 +116,7 @@ QString RiaSummaryCurveDefinition::curveDefinitionText() const
|
||||
{
|
||||
QString caseName;
|
||||
if ( summaryCase() )
|
||||
caseName = summaryCase()->caseName();
|
||||
caseName = summaryCase()->displayCaseName();
|
||||
else if ( ensemble() )
|
||||
caseName = ensemble()->name();
|
||||
|
||||
@@ -176,11 +176,11 @@ bool RiaSummaryCurveDefinition::operator<( const RiaSummaryCurveDefinition& othe
|
||||
|
||||
if ( m_summaryCase )
|
||||
{
|
||||
summaryCaseName = m_summaryCase->caseName();
|
||||
summaryCaseName = m_summaryCase->displayCaseName();
|
||||
}
|
||||
if ( other.summaryCase() )
|
||||
{
|
||||
otherSummaryCaseName = other.summaryCase()->caseName();
|
||||
otherSummaryCaseName = other.summaryCase()->displayCaseName();
|
||||
}
|
||||
|
||||
// First check if names are different to ensure stable alphabetic sort
|
||||
|
||||
Reference in New Issue
Block a user