mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Simplify RiuPlotMainWindowTools (#9211)
* Janitor: Add and use onObjectAppended() * Janitor: Simplify API
This commit is contained in:
@@ -59,8 +59,7 @@ void RicCreateEnsembleFractureStatisticsPlotFeature::onActionTriggered( bool isC
|
||||
collection->addEnsembleFractureStatisticsPlot( plot );
|
||||
collection->updateAllRequiredEditors();
|
||||
RiaGuiApplication::instance()->getOrCreateAndShowMainPlotWindow();
|
||||
RiuPlotMainWindowTools::selectAsCurrentItem( plot );
|
||||
RiuPlotMainWindowTools::refreshToolbars();
|
||||
RiuPlotMainWindowTools::onObjectAppended( plot );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user