diff --git a/ApplicationCode/Commands/EclipseCommands/RicAddEclipseInputPropertyFeature.cpp b/ApplicationCode/Commands/EclipseCommands/RicAddEclipseInputPropertyFeature.cpp index 28c7f78518..e45a6d70e9 100644 --- a/ApplicationCode/Commands/EclipseCommands/RicAddEclipseInputPropertyFeature.cpp +++ b/ApplicationCode/Commands/EclipseCommands/RicAddEclipseInputPropertyFeature.cpp @@ -41,6 +41,7 @@ CAF_CMD_SOURCE_INIT( RicAddEclipseInputPropertyFeature, "RicAddEclipseInputPrope bool RicAddEclipseInputPropertyFeature::isCommandEnabled() { return caf::SelectionManager::instance()->selectedItemOfType() || + caf::SelectionManager::instance()->selectedItemOfType() || caf::SelectionManager::instance()->selectedItemOfType(); } @@ -55,7 +56,7 @@ void RicAddEclipseInputPropertyFeature::onActionTriggered( bool isChecked ) caf::SelectionManager::instance()->selectedItemOfType(); if ( !inputPropertyCollection ) { - // No property collection selected: triggered from RimEclipseResultCase. + // No property collection selected: triggered from RimEclipseInputCase/RimEclipseResultCase. eclipseCase = caf::SelectionManager::instance()->selectedItemOfType(); if ( eclipseCase ) {