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:
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user