mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Call zoomAlll when x-axis type changes
This will ensure that the x-axis range is reset when switching from a cross plot to time plot
This commit is contained in:
@@ -836,6 +836,7 @@ void RimEnsembleCurveSet::fieldChangedByUi( const caf::PdmFieldHandle* changedFi
|
||||
plot->updateAxes();
|
||||
plot->updatePlotTitle();
|
||||
updateAllCurves();
|
||||
plot->zoomAll();
|
||||
}
|
||||
else if ( changedField == &m_resampling || changedField == &m_useCustomAppearance || changedField == &m_lineStyle ||
|
||||
changedField == &m_pointSymbol || changedField == &m_symbolSize || changedField == &m_statisticsLineStyle ||
|
||||
|
||||
@@ -1154,6 +1154,7 @@ void RimSummaryCurve::fieldChangedByUi( const caf::PdmFieldHandle* changedField,
|
||||
}
|
||||
plot->updateAxes();
|
||||
plot->updatePlotTitle();
|
||||
plot->zoomAll();
|
||||
loadAndUpdate = true;
|
||||
}
|
||||
else if ( &m_showCurve == changedField )
|
||||
|
||||
Reference in New Issue
Block a user