Skip to content

Commit

Permalink
Show case option when not in the tree.
Browse files Browse the repository at this point in the history
  • Loading branch information
kriben committed Apr 15, 2024
1 parent 3896f6b commit 2e3d4e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ApplicationLibCode/ProjectDataModel/RimEclipseView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1895,7 +1895,8 @@ void RimEclipseView::defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering&
{
Rim3dView::defineUiOrdering( uiConfigName, uiOrdering );

uiOrdering.add( &m_eclipseCase );
// Only show case option when not under a case in the project tree.
if ( !firstAncestorOrThisOfType<RimEclipseCase>() ) uiOrdering.add( &m_eclipseCase );

caf::PdmUiGroup* cellGroup = uiOrdering.addNewGroup( "Cell Visibility" );
cellGroup->add( &m_showInactiveCells );
Expand Down

0 comments on commit 2e3d4e2

Please sign in to comment.