Fix cloning of GeoMech views from Python

This commit is contained in:
Gaute Lindkvist 2020-02-13 16:04:30 +01:00
parent 699a3f9b34
commit a3a7b6029e

View File

@ -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 );