mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05: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