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:
parent
91e8b1a839
commit
8f7a9dc3ce
@ -606,7 +606,10 @@ void RimSummaryPlot::updateAll()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimSummaryPlot::updateLegend()
|
||||
{
|
||||
m_plotWidget->setLegendVisible( m_showPlotLegends && isMdiWindow() );
|
||||
if ( m_plotWidget )
|
||||
{
|
||||
m_plotWidget->setLegendVisible( m_showPlotLegends && isMdiWindow() );
|
||||
}
|
||||
|
||||
reattachAllCurves();
|
||||
if ( m_plotWidget )
|
||||
|
Loading…
Reference in New Issue
Block a user