Skip to content
Permalink
Browse files

Update the UI when the root collapsible box is opened

  • Loading branch information
suricactus committed Jan 4, 2021
1 parent 4c463d3 commit e892bee38ec28e6f7f25178afa4f8263f4725908
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsbasicrelationwidget.cpp
@@ -157,7 +157,7 @@ QgsBasicRelationWidget::QgsBasicRelationWidget( const QVariantMap &config, QWidg

mRelationLayout->addWidget( mDualView );

// connect( this, &QgsCollapsibleGroupBoxBasic::collapsedStateChanged, this, &QgsRelationEditorWidget2::onCollapsedStateChanged );
connect( mRootCollapsibleGroupBox, &QgsCollapsibleGroupBoxBasic::collapsedStateChanged, this, &QgsBasicRelationWidget::onCollapsedStateChanged );
connect( mViewModeButtonGroup, static_cast<void ( QButtonGroup::* )( int )>( &QButtonGroup::buttonClicked ),
this, static_cast<void ( QgsBasicRelationWidget::* )( int )>( &QgsBasicRelationWidget::setViewMode ) );
connect( mToggleEditingButton, &QAbstractButton::clicked, this, &QgsBasicRelationWidget::toggleEditing );

0 comments on commit e892bee

Please sign in to comment.
You can’t perform that action at this time.