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:
@@ -76,10 +76,7 @@ void RicNewRftWellLogPlotFeature::onActionTriggered( bool isChecked )
|
||||
|
||||
curve->updateAllRequiredEditors();
|
||||
|
||||
RiuPlotMainWindowTools::setExpanded( curve );
|
||||
RiuPlotMainWindowTools::selectAsCurrentItem( curve );
|
||||
|
||||
RiuPlotMainWindowTools::refreshToolbars();
|
||||
RiuPlotMainWindowTools::onObjectAppended( curve );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user