Fixed crash when opening project file with a hidden well log plot

This commit is contained in:
Jacob Støren 2015-09-17 10:11:06 +02:00
parent 7a6c7149e1
commit 14b740c8ab

View File

@ -308,6 +308,8 @@ void RimWellLogPlot::loadDataAndUpdate()
//--------------------------------------------------------------------------------------------------
void RimWellLogPlot::updateTraces()
{
if (m_showWindow)
{
for (size_t tIdx = 0; tIdx < traces.size(); ++tIdx)
{
traces[tIdx]->loadDataAndUpdate();
@ -315,6 +317,7 @@ void RimWellLogPlot::updateTraces()
updateAvailableDepthRange();
updateAxisRanges();
}
}