mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#868 Manually set summary case when pasting curve
This commit is contained in:
parent
f14b4ab4d0
commit
9e0fc90b2b
@ -78,6 +78,11 @@ void RicPasteSummaryCurveFeature::onActionTriggered(bool isChecked)
|
|||||||
|
|
||||||
// Resolve references after object has been inserted into the project data model
|
// Resolve references after object has been inserted into the project data model
|
||||||
newObject->resolveReferencesRecursively();
|
newObject->resolveReferencesRecursively();
|
||||||
|
|
||||||
|
// If source curve is part of a curve filter, resolve of references to the summary case does not
|
||||||
|
// work when pasting the new curve into a plot. Must set summary case manually.
|
||||||
|
newObject->setSummaryCase(sourceObjects[i]->summaryCase());
|
||||||
|
|
||||||
newObject->initAfterReadRecursively();
|
newObject->initAfterReadRecursively();
|
||||||
|
|
||||||
newObject->loadDataAndUpdate();
|
newObject->loadDataAndUpdate();
|
||||||
|
Loading…
Reference in New Issue
Block a user