mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7727 Well Path : Simplify access to all well paths
This commit is contained in:
@@ -124,7 +124,7 @@ bool RicDeleteSubItemsFeature::hasDeletableSubItems( caf::PdmUiItem* uiItem )
|
||||
|
||||
{
|
||||
auto collection = dynamic_cast<RimWellPathCollection*>( uiItem );
|
||||
if ( collection && !collection->topLevelWellPaths().empty() )
|
||||
if ( collection && !collection->allWellPaths().empty() )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user