mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
Guard use of null pointer
This commit is contained in:
1 parent
78dc6d1ecc
commit
401ce4bc18
1 file changed
+1
-1
@@ -270,7 +270,7 @@ RiuPlotWidget* RimWellAllocationOverTimePlot::doCreatePlotViewWidget( QWidget* m
|
|||||||
// Remove event filter to disable unwanted highlighting on left click in plot.
|
// Remove event filter to disable unwanted highlighting on left click in plot.
|
||||||
plotWidget->removeEventFilter();
|
plotWidget->removeEventFilter();
|
||||||
|
|
||||||
new RiuContextMenuLauncher( m_plotWidget, { "RicShowPlotDataFeature" } );
|
new RiuContextMenuLauncher( plotWidget, { "RicShowPlotDataFeature" } );
|
||||||
|
|
||||||
m_plotWidget = plotWidget;
|
m_plotWidget = plotWidget;
|
||||||
RiuQwtPlotTools::enableDateBasedBottomXAxis( m_plotWidget->qwtPlot(),
|
RiuQwtPlotTools::enableDateBasedBottomXAxis( m_plotWidget->qwtPlot(),
|
||||||
|
|||||||
Reference in new issue
Block a user