mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#836 Fixed missing data load when toggling on a curve
This bug would also cause wrong data to be displayed, if a curve had been toggled off, then changed, and toggled on again.
This commit is contained in:
parent
5e9308f7b3
commit
4d005bdfc8
@ -114,6 +114,7 @@ void RimPlotCurve::fieldChangedByUi(const caf::PdmFieldHandle* changedField, con
|
|||||||
if (changedField == &m_showCurve)
|
if (changedField == &m_showCurve)
|
||||||
{
|
{
|
||||||
this->updateCurveVisibility();
|
this->updateCurveVisibility();
|
||||||
|
if (m_showCurve()) loadDataAndUpdate();
|
||||||
}
|
}
|
||||||
else if (changedField == &m_curveName)
|
else if (changedField == &m_curveName)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user