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

@@ -307,6 +307,8 @@ void RimWellLogPlot::loadDataAndUpdate()
///
//--------------------------------------------------------------------------------------------------
void RimWellLogPlot::updateTraces()
{
if (m_showWindow)
{
for (size_t tIdx = 0; tIdx < traces.size(); ++tIdx)
{
@@ -316,6 +318,7 @@ void RimWellLogPlot::updateTraces()
updateAvailableDepthRange();
updateAxisRanges();
}
}
//--------------------------------------------------------------------------------------------------