mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add new-line to 2D intersection view legend title
This commit is contained in:
parent
df0a356a0a
commit
00236c493e
@ -486,12 +486,12 @@ void Rim2dIntersectionView::updateLegends()
|
||||
|
||||
if ( eclView->cellResult()->isTernarySaturationSelected() )
|
||||
{
|
||||
m_ternaryLegendConfig()->setTitle("Cell Result:");
|
||||
m_ternaryLegendConfig()->setTitle("Cell Result:\n");
|
||||
legend = m_ternaryLegendConfig()->legend();
|
||||
}
|
||||
else
|
||||
{
|
||||
m_legendConfig()->setTitle("Cell Result:" + eclView->cellResult()->resultVariableUiShortName());
|
||||
m_legendConfig()->setTitle("Cell Result:\n" + eclView->cellResult()->resultVariableUiShortName());
|
||||
legend = m_legendConfig()->legend();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user