mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix crash when creating prodution rate plot.
This commit is contained in:
@@ -606,7 +606,10 @@ void RimSummaryPlot::updateAll()
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
void RimSummaryPlot::updateLegend()
|
void RimSummaryPlot::updateLegend()
|
||||||
{
|
{
|
||||||
m_plotWidget->setLegendVisible( m_showPlotLegends && isMdiWindow() );
|
if ( m_plotWidget )
|
||||||
|
{
|
||||||
|
m_plotWidget->setLegendVisible( m_showPlotLegends && isMdiWindow() );
|
||||||
|
}
|
||||||
|
|
||||||
reattachAllCurves();
|
reattachAllCurves();
|
||||||
if ( m_plotWidget )
|
if ( m_plotWidget )
|
||||||
|
|||||||
Reference in New Issue
Block a user