mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3171 Plot source stepping. Force update curve appearace when stepping from a grid case to an observed case, and vice versa
This commit is contained in:
@@ -305,7 +305,9 @@ void RimSummaryPlotSourceStepping::fieldChangedByUi(const caf::PdmFieldHandle* c
|
||||
{
|
||||
if (isYAxisStepping())
|
||||
{
|
||||
bool doSetAppearance = curve->summaryCaseY()->isObservedData() != m_summaryCase->isObservedData();
|
||||
curve->setSummaryCaseY(m_summaryCase);
|
||||
if (doSetAppearance) curve->forceUpdateCurveAppearanceFromCaseType();
|
||||
}
|
||||
|
||||
if (isXAxisStepping())
|
||||
|
||||
Reference in New Issue
Block a user