#9292 Update project tree when new fracture is added

This commit is contained in:
Magne Sjaastad 2022-09-13 18:04:59 +02:00
parent b5993a0c0c
commit c55fdb2a7d

View File

@ -101,9 +101,12 @@ RimWellPathFracture* RicNewWellPathFractureFeature::addFracture( gsl::not_null<R
if ( project )
{
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 );
return fracture;
}