Simplify RiuPlotMainWindowTools (#9211)

* Janitor: Add and use onObjectAppended()
* Janitor: Simplify API
This commit is contained in:
Magne Sjaastad authored and GitHub committed 2022-08-18 12:37:51 +02:00
1 parent febbdcf7a0
commit a1e7b64d92
34 files changed
+66 -93

No files matched your search

@@ -100,9 +100,7 @@ void RicNewCorrelationMatrixPlotFeature::onActionTriggered( bool isChecked )
if ( correlationPlotColl ) correlationPlotColl->updateConnectedEditors();
RiuPlotMainWindowTools::setExpanded( newPlot );
RiuPlotMainWindowTools::selectAsCurrentItem( newPlot );
RiuPlotMainWindowTools::refreshToolbars();
RiuPlotMainWindowTools::onObjectAppended( newPlot );
}
//--------------------------------------------------------------------------------------------------