#2321 Avoid crash when opening a project file with a PLT/RFT plot and where main plot window was closed before saving

This commit is contained in:
Rebecca Cox 2018-01-05 11:11:27 +01:00
parent e0bc2c4046
commit 9a41e1c134

View File

@ -724,9 +724,13 @@ void RimWellLogTrack::updateXZoom()
}
if (!m_isAutoScaleXEnabled())
{
if (m_wellLogTrackPlotWidget)
{
m_wellLogTrackPlotWidget->setXRange(m_visibleXRangeMin, m_visibleXRangeMax);
m_wellLogTrackPlotWidget->replot();
}
return;
}