mirror of
https://github.com/OPM/ResInsight.git
synced 2026-08-06 19:35:05 -05:00
Simplify RiuPlotMainWindowTools (#9211)
* Janitor: Add and use onObjectAppended() * Janitor: Simplify API
This commit is contained in:
@@ -175,11 +175,8 @@ RimStimPlanModelPlot* RicNewStimPlanModelPlotFeature::createPlot( RimStimPlanMod
|
||||
plot->setAutoScaleDepthValuesEnabled( true );
|
||||
}
|
||||
|
||||
RiuPlotMainWindowTools::selectAsCurrentItem( plot );
|
||||
RiuPlotMainWindowTools::refreshToolbars();
|
||||
|
||||
// Make sure the summary plot window is visible
|
||||
RiuPlotMainWindowTools::showPlotMainWindow();
|
||||
RiuPlotMainWindowTools::onObjectAppended( plot );
|
||||
|
||||
plot->loadDataAndUpdate();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user