mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5867 Fix missing curve legends in plots
This commit is contained in:
parent
abd4b7c769
commit
d28a426062
@ -174,7 +174,7 @@ void RiuMultiPlotPage::insertPlot( RiuQwtPlotWidget* plotWidget, size_t index )
|
|||||||
m_subTitles.insert( static_cast<int>( index ), subTitle );
|
m_subTitles.insert( static_cast<int>( index ), subTitle );
|
||||||
|
|
||||||
RiuQwtPlotLegend* legend = nullptr;
|
RiuQwtPlotLegend* legend = nullptr;
|
||||||
if ( plotWidget->legend() )
|
if ( m_plotDefinition->legendsVisible() )
|
||||||
{
|
{
|
||||||
legend = new RiuQwtPlotLegend( this );
|
legend = new RiuQwtPlotLegend( this );
|
||||||
int legendColumns = 1;
|
int legendColumns = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user