From a4def5d407cd10dafda3d79f81cb1704b289d84c Mon Sep 17 00:00:00 2001 From: jonjenssen Date: Mon, 25 Sep 2023 20:36:31 +0200 Subject: [PATCH] Put surface intersection lines in a group in seismic section collection ui --- .../ProjectDataModel/Seismic/RimSeismicSectionCollection.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ApplicationLibCode/ProjectDataModel/Seismic/RimSeismicSectionCollection.cpp b/ApplicationLibCode/ProjectDataModel/Seismic/RimSeismicSectionCollection.cpp index d5e9b4cb28..3b0fc51efc 100644 --- a/ApplicationLibCode/ProjectDataModel/Seismic/RimSeismicSectionCollection.cpp +++ b/ApplicationLibCode/ProjectDataModel/Seismic/RimSeismicSectionCollection.cpp @@ -146,8 +146,9 @@ caf::PdmFieldHandle* RimSeismicSectionCollection::userDescriptionField() //-------------------------------------------------------------------------------------------------- void RimSeismicSectionCollection::defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) { - uiOrdering.add( &m_surfaceIntersectionLinesScaleFactor ); - uiOrdering.add( &m_hiddenSurfaceLines ); + auto grp = uiOrdering.addNewGroup( "Surface Intersection Lines" ); + grp->add( &m_surfaceIntersectionLinesScaleFactor ); + grp->add( &m_hiddenSurfaceLines ); uiOrdering.skipRemainingFields( true ); }