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
@ -724,9 +724,13 @@ void RimWellLogTrack::updateXZoom()
|
||||
}
|
||||
|
||||
if (!m_isAutoScaleXEnabled())
|
||||
{
|
||||
if (m_wellLogTrackPlotWidget)
|
||||
{
|
||||
m_wellLogTrackPlotWidget->setXRange(m_visibleXRangeMin, m_visibleXRangeMax);
|
||||
m_wellLogTrackPlotWidget->replot();
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user