diff --git a/ApplicationLibCode/ProjectDataModel/RimEclipseCase.cpp b/ApplicationLibCode/ProjectDataModel/RimEclipseCase.cpp index b292ebcd7f2..0be60bdcb4e 100644 --- a/ApplicationLibCode/ProjectDataModel/RimEclipseCase.cpp +++ b/ApplicationLibCode/ProjectDataModel/RimEclipseCase.cpp @@ -554,7 +554,10 @@ void RimEclipseCase::defineUiTreeOrdering( caf::PdmUiTreeOrdering& uiTreeOrderin { if ( uiConfigName == "MainWindow.ProjectTree" ) { - uiTreeOrdering.add( &m_viewCollection ); + for ( auto view : m_viewCollection->views() ) + { + uiTreeOrdering.add( view ); + } if ( !m_2dIntersectionViewCollection->views().empty() ) {