mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-05 21:56:46 -06:00
Create a menu for each ensemble in the plot
Create a QVariant using caf::PdmPointer, and send this variant to the feature. The feature converts the QVariant to an ensemble curve set. Make sure the right-click menu in the summary plot shows the Create from filtered cases independent to the selection in project tree.
This commit is contained in:
1 parent
a93d717e1c
commit
9b613ba4f0
3 files changed
+42
-3
No files matched your search
@@ -328,7 +328,11 @@ void RimEnsembleCurveSetCollection::onChildDeleted( caf::PdmChildArrayFieldHandl
|
||||
std::vector<caf::PdmObjectHandle*>& referringObjects )
|
||||
{
|
||||
auto plot = firstAncestorOrThisOfType<RimSummaryPlot>();
|
||||
if ( plot ) plot->updateConnectedEditors();
|
||||
if ( plot )
|
||||
{
|
||||
plot->updateConnectedEditors();
|
||||
plot->updateAndRedrawTimeAnnotations();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user