Simplify RiuPlotMainWindowTools (#9211)

* Janitor: Add and use onObjectAppended()
* Janitor: Simplify API
This commit is contained in:
Magne Sjaastad
2022-08-18 03:37:51 -07:00
committed by GitHub
parent febbdcf7a0
commit a1e7b64d92
34 changed files with 66 additions and 93 deletions

View File

@@ -122,8 +122,7 @@ bool RimObservedDataCollection::fileExists( const QString& fileName, QString* er
void updateNewObservedDataCreated( caf::PdmObject* object )
{
RiuPlotMainWindowTools::showPlotMainWindow();
RiuPlotMainWindowTools::selectAsCurrentItem( object );
RiuPlotMainWindowTools::setExpanded( object );
RiuPlotMainWindowTools::onObjectAppended( object );
caf::PdmUiObjectEditorHandle::updateUiAllObjectEditors();