Fix crashes

This commit is contained in:
Gaute Lindkvist
2019-09-04 19:29:44 +02:00
parent a03435b2fe
commit b9d78152e1
4 changed files with 8 additions and 10 deletions

View File

@@ -691,7 +691,7 @@ void RimWellPltPlot::syncCurvesFromUiSelection()
curveGroupId++;
}
loadDataAndUpdate();
RimWellLogPlot::onLoadDataAndUpdate();
plotTrack->calculateXZoomRange();
}
@@ -1088,7 +1088,6 @@ void RimWellPltPlot::onLoadDataAndUpdate()
updateMdiWindowVisibility();
updateFormationsOnPlot();
syncCurvesFromUiSelection();
RimWellLogPlot::loadDataAndUpdate();
}
//--------------------------------------------------------------------------------------------------
@@ -1096,6 +1095,6 @@ void RimWellPltPlot::onLoadDataAndUpdate()
//--------------------------------------------------------------------------------------------------
QWidget* RimWellPltPlot::createViewWidget(QWidget* mainWindowParent)
{
m_viewer = new RiuWellPltPlot(this, mainWindowParent);
m_viewer = new RiuWellLogPlot(this, mainWindowParent);
return m_viewer;
}