mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Make sure we refresh tree when adding a curve. Add new curve to summary plot context menu, too.
This commit is contained in:
parent
e19f3dad82
commit
62a455e35b
@ -104,10 +104,11 @@ void RicNewSummaryCurveFeature::onActionTriggered( bool isChecked )
|
||||
plot->loadDataAndUpdate();
|
||||
plot->summaryCurveCollection()->updateAllRequiredEditors();
|
||||
|
||||
app->getOrCreateAndShowMainPlotWindow()->selectAsCurrentItem( newCurve );
|
||||
|
||||
RiuPlotMainWindow* mainPlotWindow = app->mainPlotWindow();
|
||||
mainPlotWindow->updateMultiPlotToolBar();
|
||||
|
||||
plot->updateConnectedEditors();
|
||||
RiuPlotMainWindowTools::selectAsCurrentItem( newCurve );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -681,7 +681,9 @@ caf::CmdFeatureMenuBuilder RimContextCommandBuilder::commandsFromSelection()
|
||||
menuBuilder << "RicNewSummaryEnsembleCurveSetFeature";
|
||||
menuBuilder << "RicDuplicateSummaryCrossPlotFeature";
|
||||
menuBuilder << "RicNewSummaryCrossPlotCurveFeature";
|
||||
menuBuilder << "Separator";
|
||||
menuBuilder << "RicNewPlotAxisPropertiesFeature";
|
||||
menuBuilder << "RicNewSummaryCurveFeature";
|
||||
menuBuilder << "Separator";
|
||||
|
||||
// Export is not supported for cross plot
|
||||
|
Loading…
Reference in New Issue
Block a user