Update Well IA and Fault RA processing workflows to work with updated tree UI hidden/visible logic changes.

This commit is contained in:
Jon Jenssen
2021-10-25 18:06:38 +02:00
committed by jonjenssen
parent d61129e639
commit be59eedd18
6 changed files with 26 additions and 3 deletions

View File

@@ -105,5 +105,6 @@ void RicNewWellIntegrityAnalysisFeature::setupActionLook( QAction* actionToSetup
//--------------------------------------------------------------------------------------------------
bool RicNewWellIntegrityAnalysisFeature::isCommandEnabled()
{
return true;
RimGeoMechView* view = dynamic_cast<RimGeoMechView*>( RiaApplication::instance()->activeGridView() );
return ( view != nullptr );
}