mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixed crash when opening project file with a hidden well log plot
This commit is contained in:
parent
7a6c7149e1
commit
14b740c8ab
@ -308,13 +308,16 @@ void RimWellLogPlot::loadDataAndUpdate()
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
void RimWellLogPlot::updateTraces()
|
void RimWellLogPlot::updateTraces()
|
||||||
{
|
{
|
||||||
for (size_t tIdx = 0; tIdx < traces.size(); ++tIdx)
|
if (m_showWindow)
|
||||||
{
|
{
|
||||||
traces[tIdx]->loadDataAndUpdate();
|
for (size_t tIdx = 0; tIdx < traces.size(); ++tIdx)
|
||||||
}
|
{
|
||||||
|
traces[tIdx]->loadDataAndUpdate();
|
||||||
|
}
|
||||||
|
|
||||||
updateAvailableDepthRange();
|
updateAvailableDepthRange();
|
||||||
updateAxisRanges();
|
updateAxisRanges();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user