mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#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:
parent
e0bc2c4046
commit
9a41e1c134
@ -725,8 +725,12 @@ void RimWellLogTrack::updateXZoom()
|
|||||||
|
|
||||||
if (!m_isAutoScaleXEnabled())
|
if (!m_isAutoScaleXEnabled())
|
||||||
{
|
{
|
||||||
m_wellLogTrackPlotWidget->setXRange(m_visibleXRangeMin, m_visibleXRangeMax);
|
if (m_wellLogTrackPlotWidget)
|
||||||
m_wellLogTrackPlotWidget->replot();
|
{
|
||||||
|
m_wellLogTrackPlotWidget->setXRange(m_visibleXRangeMin, m_visibleXRangeMax);
|
||||||
|
m_wellLogTrackPlotWidget->replot();
|
||||||
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user