mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2360 Elm Props: Correct UI text in 3d overlay info
This commit is contained in:
parent
81a7fb204d
commit
cede66c8c0
@ -604,8 +604,14 @@ QString Rim3dOverlayInfoConfig::resultInfoText(const HistogramData& histData, Ri
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
infoText += QString("<b>Cell result:</b> %1, %2, %3").arg(resultPos).arg(fieldName).arg(compName);
|
||||
if (compName == "")
|
||||
{
|
||||
infoText += QString("<b>Cell result:</b> %1, %2").arg(resultPos).arg(fieldName);
|
||||
}
|
||||
else
|
||||
{
|
||||
infoText += QString("<b>Cell result:</b> %1, %2, %3").arg(resultPos).arg(fieldName).arg(compName);
|
||||
}
|
||||
|
||||
infoText += QString("<br><b>Statistics:</b> ") + m_statisticsTimeRange().uiText() + " and " + m_statisticsCellRange().uiText();
|
||||
infoText += QString("<table border=0 cellspacing=5 >"
|
||||
|
Loading…
Reference in New Issue
Block a user