mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2283 Cross Plot : Use empty curve name instead of single pipe "|"
This commit is contained in:
@@ -376,7 +376,10 @@ QString RimSummaryCurve::createCurveAutoName()
|
||||
{
|
||||
QString xCurveName = m_curveNameConfig->curveName(m_xValuesCurveVariable->address(), plot->activePlotTitleHelper());
|
||||
|
||||
name += " | " + xCurveName;
|
||||
if (!name.isEmpty() || !xCurveName.isEmpty())
|
||||
{
|
||||
name += " | " + xCurveName;
|
||||
}
|
||||
}
|
||||
|
||||
return name;
|
||||
|
||||
Reference in New Issue
Block a user