mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 08:25:03 -05:00
Using different handling for toggling on and off visibility of well log plot
This commit is contained in:
1 parent
d3909c5d27
commit
fa8f6108c7
1 file changed
+8
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user