From 27192e80966b02f3f2c671e35c2e3c4909c1247d Mon Sep 17 00:00:00 2001 From: Rebecca Cox Date: Mon, 29 Jan 2018 10:47:54 +0100 Subject: [PATCH] Rename variable --- ApplicationCode/ProjectDataModel/RimPlotCurve.cpp | 4 ++-- ApplicationCode/ProjectDataModel/RimPlotCurve.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ApplicationCode/ProjectDataModel/RimPlotCurve.cpp b/ApplicationCode/ProjectDataModel/RimPlotCurve.cpp index d5a3f5d08f..b856cc3633 100644 --- a/ApplicationCode/ProjectDataModel/RimPlotCurve.cpp +++ b/ApplicationCode/ProjectDataModel/RimPlotCurve.cpp @@ -180,7 +180,7 @@ caf::PdmFieldHandle* RimPlotCurve::objectToggleField() //-------------------------------------------------------------------------------------------------- /// //-------------------------------------------------------------------------------------------------- -void RimPlotCurve::updateCurveVisibility(bool updateParent) +void RimPlotCurve::updateCurveVisibility(bool updateParentPlot) { bool isVisibleInPossibleParent = true; @@ -199,7 +199,7 @@ void RimPlotCurve::updateCurveVisibility(bool updateParent) m_qwtPlotCurve->detach(); } - if (updateParent) + if (updateParentPlot) { updateZoomInParentPlot(); } diff --git a/ApplicationCode/ProjectDataModel/RimPlotCurve.h b/ApplicationCode/ProjectDataModel/RimPlotCurve.h index f3c6126389..0cd9c4495a 100644 --- a/ApplicationCode/ProjectDataModel/RimPlotCurve.h +++ b/ApplicationCode/ProjectDataModel/RimPlotCurve.h @@ -92,7 +92,7 @@ public: QString curveName() const { return m_curveName; } - void updateCurveVisibility(bool updateParent); + void updateCurveVisibility(bool updateParentPlot); void updateLegendEntryVisibilityAndPlotLegend(); void updateLegendEntryVisibilityNoPlotUpdate();