mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Summary Curve: Do not show legend if empty
This commit is contained in:
parent
79fdc825ca
commit
8c76921bed
@ -119,7 +119,7 @@ void RiuSummaryMultiPlotPage::reinsertPlotWidgets()
|
||||
|
||||
if ( legends[visibleIndex] )
|
||||
{
|
||||
if ( m_plotDefinition->legendsVisible() )
|
||||
if ( m_plotDefinition->legendsVisible() && !legends[visibleIndex]->isEmpty() )
|
||||
{
|
||||
int legendColumns = 1;
|
||||
if ( m_plotDefinition->legendsHorizontal() )
|
||||
|
Loading…
Reference in New Issue
Block a user