mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
More precise view id
This commit is contained in:
@@ -198,7 +198,6 @@ void RimGeoMechCase::reloadDataAndUpdate()
|
||||
RimGeoMechView* RimGeoMechCase::createAndAddReservoirView()
|
||||
{
|
||||
RimGeoMechView* gmv = new RimGeoMechView();
|
||||
RiaApplication::instance()->project()->assignViewIdToView( gmv );
|
||||
|
||||
gmv->setGeoMechCase( this );
|
||||
|
||||
@@ -215,7 +214,6 @@ RimGeoMechView* RimGeoMechCase::createCopyAndAddView( const RimGeoMechView* sour
|
||||
sourceView->xmlCapability()->copyByXmlSerialization( caf::PdmDefaultObjectFactory::instance() ) );
|
||||
CVF_ASSERT( rimGeoMechView );
|
||||
|
||||
RiaApplication::instance()->project()->assignViewIdToView( rimGeoMechView );
|
||||
rimGeoMechView->setGeoMechCase( this );
|
||||
|
||||
caf::PdmDocument::updateUiIconStateRecursively( rimGeoMechView );
|
||||
|
||||
Reference in New Issue
Block a user