mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -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
+7
@@ -129,9 +129,16 @@ void RimWellLogPlot::updateViewerWidget()
|
||||
void RimWellLogPlot::fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue)
|
||||
{
|
||||
if (changedField == &m_showWindow)
|
||||
{
|
||||
if (m_showWindow)
|
||||
{
|
||||
loadDataAndUpdate();
|
||||
}
|
||||
else
|
||||
{
|
||||
updateViewerWidget();
|
||||
}
|
||||
}
|
||||
else if (changedField == &m_minimumVisibleDepth || changedField == &m_maximumVisibleDepth)
|
||||
{
|
||||
updateAxisRanges();
|
||||
|
||||
Reference in new issue
Block a user