mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-08 23:23:01 -06:00
Remove wrong error message on successfully cloning views from Python.
This commit is contained in:
parent
2adefbcb04
commit
4b9ea05033
@ -49,8 +49,8 @@ RicfCommandResponse RicfCloneView::execute()
|
|||||||
{
|
{
|
||||||
RimEclipseCase* eclipseCase = eclipseView->eclipseCase();
|
RimEclipseCase* eclipseCase = eclipseView->eclipseCase();
|
||||||
RimEclipseView* newEclipseView = eclipseCase->createCopyAndAddView( eclipseView );
|
RimEclipseView* newEclipseView = eclipseCase->createCopyAndAddView( eclipseView );
|
||||||
newViewId = newEclipseView->id();
|
|
||||||
newEclipseView->loadDataAndUpdate();
|
newEclipseView->loadDataAndUpdate();
|
||||||
|
newViewId = newEclipseView->id();
|
||||||
eclipseCase->updateConnectedEditors();
|
eclipseCase->updateConnectedEditors();
|
||||||
Riu3DMainWindowTools::setExpanded( newEclipseView );
|
Riu3DMainWindowTools::setExpanded( newEclipseView );
|
||||||
}
|
}
|
||||||
@ -58,8 +58,8 @@ RicfCommandResponse RicfCloneView::execute()
|
|||||||
{
|
{
|
||||||
RimGeoMechCase* geoMechCase = geoMechView->geoMechCase();
|
RimGeoMechCase* geoMechCase = geoMechView->geoMechCase();
|
||||||
RimGeoMechView* newGeoMechView = geoMechCase->createCopyAndAddView( geoMechView );
|
RimGeoMechView* newGeoMechView = geoMechCase->createCopyAndAddView( geoMechView );
|
||||||
newViewId = newGeoMechView->id();
|
|
||||||
view->loadDataAndUpdate();
|
view->loadDataAndUpdate();
|
||||||
|
newViewId = newGeoMechView->id();
|
||||||
geoMechCase->updateConnectedEditors();
|
geoMechCase->updateConnectedEditors();
|
||||||
Riu3DMainWindowTools::setExpanded( view );
|
Riu3DMainWindowTools::setExpanded( view );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user