Using different handling for toggling on and off visibility of well log plot

This commit is contained in:
Pål Hagen
2015-09-11 10:58:30 +02:00
parent d3909c5d27
commit fa8f6108c7

View File

@@ -130,7 +130,14 @@ void RimWellLogPlot::fieldChangedByUi(const caf::PdmFieldHandle* changedField, c
{
if (changedField == &m_showWindow)
{
loadDataAndUpdate();
if (m_showWindow)
{
loadDataAndUpdate();
}
else
{
updateViewerWidget();
}
}
else if (changedField == &m_minimumVisibleDepth || changedField == &m_maximumVisibleDepth)
{