mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 22:13:25 -06:00
Guard use of null pointer
This commit is contained in:
parent
78dc6d1ecc
commit
401ce4bc18
@ -270,7 +270,7 @@ RiuPlotWidget* RimWellAllocationOverTimePlot::doCreatePlotViewWidget( QWidget* m
|
||||
// Remove event filter to disable unwanted highlighting on left click in plot.
|
||||
plotWidget->removeEventFilter();
|
||||
|
||||
new RiuContextMenuLauncher( m_plotWidget, { "RicShowPlotDataFeature" } );
|
||||
new RiuContextMenuLauncher( plotWidget, { "RicShowPlotDataFeature" } );
|
||||
|
||||
m_plotWidget = plotWidget;
|
||||
RiuQwtPlotTools::enableDateBasedBottomXAxis( m_plotWidget->qwtPlot(),
|
||||
|
Loading…
Reference in New Issue
Block a user