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 authored and jonjenssen committed 2021-10-25 18:25:41 +02:00
1 parent d61129e639
commit be59eedd18
6 files changed
+26 -3

No files matched your search

@@ -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 );
}