mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Refactor LayoutOptions to improve readability
* Make it possible to use designated initializer list - remove default constructor - move static member to outer scope * Add helper function to add field on same row
This commit is contained in:
@@ -492,7 +492,7 @@ void RimWellConnectivityTable::defineUiOrdering( QString uiConfigName, caf::PdmU
|
||||
caf::PdmUiGroup* producerGroup = selectionGroup->addNewGroup( "Producers" );
|
||||
producerGroup->add( &m_selectedProducerTracersUiField );
|
||||
producerGroup->add( &m_syncSelectedInjectorsFromProducerSelection );
|
||||
caf::PdmUiGroup* injectorGroup = selectionGroup->addNewGroup( "Injectors", false );
|
||||
caf::PdmUiGroup* injectorGroup = selectionGroup->addNewGroup( "Injectors", { .newRow = false } );
|
||||
injectorGroup->add( &m_selectedInjectorTracersUiField );
|
||||
injectorGroup->add( &m_syncSelectedProducersFromInjectorSelection );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user