mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#9292 Update project tree when new fracture is added
This commit is contained in:
parent
b5993a0c0c
commit
c55fdb2a7d
@ -101,9 +101,12 @@ RimWellPathFracture* RicNewWellPathFractureFeature::addFracture( gsl::not_null<R
|
|||||||
if ( project )
|
if ( project )
|
||||||
{
|
{
|
||||||
project->reloadCompletionTypeResultsInAllViews();
|
project->reloadCompletionTypeResultsInAllViews();
|
||||||
fractureCollection->updateAllRequiredEditors();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Update well path, as the completion collections are hidden if empty. This update will make sure that the folder
|
||||||
|
// and completion is visible
|
||||||
|
wellPath->updateAllRequiredEditors();
|
||||||
|
|
||||||
Riu3DMainWindowTools::selectAsCurrentItem( fracture );
|
Riu3DMainWindowTools::selectAsCurrentItem( fracture );
|
||||||
return fracture;
|
return fracture;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user