mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix cloning of GeoMech views from Python
This commit is contained in:
@@ -58,7 +58,7 @@ RicfCommandResponse RicfCloneView::execute()
|
||||
{
|
||||
RimGeoMechCase* geoMechCase = geoMechView->geoMechCase();
|
||||
RimGeoMechView* newGeoMechView = geoMechCase->createCopyAndAddView( geoMechView );
|
||||
view->loadDataAndUpdate();
|
||||
newGeoMechView->loadDataAndUpdate();
|
||||
newViewId = newGeoMechView->id();
|
||||
geoMechCase->updateConnectedEditors();
|
||||
Riu3DMainWindowTools::setExpanded( view );
|
||||
|
||||
Reference in New Issue
Block a user