mirror of
https://github.com/OPM/ResInsight.git
synced 2026-08-03 10:03:20 -05:00
Simplify RiuPlotMainWindowTools (#9211)
* Janitor: Add and use onObjectAppended() * Janitor: Simplify API
This commit is contained in:
@@ -85,9 +85,7 @@ void RicNewRftPlotFeature::onActionTriggered( bool isChecked )
|
||||
rftPlotColl->updateConnectedEditors();
|
||||
|
||||
RiuPlotMainWindowTools::showPlotMainWindow();
|
||||
RiuPlotMainWindowTools::setExpanded( plotTrack );
|
||||
RiuPlotMainWindowTools::selectAsCurrentItem( rftPlot );
|
||||
RiuPlotMainWindowTools::refreshToolbars();
|
||||
RiuPlotMainWindowTools::onObjectAppended( rftPlot, plotTrack );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user