Skip to content
Permalink
Browse files

Remove from the layout, just in case

  • Loading branch information
suricactus committed Jan 6, 2021
1 parent 10b2b3b commit ca56fe6d5284bed7e866f81ca94e7f91d29120a0
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/attributeformconfig/qgsattributewidgetedit.cpp
@@ -130,6 +130,7 @@ void QgsAttributeWidgetRelationEditWidget::setRelationEditorConfiguration( const
{
const QString widgetId = mWidgetTypeComboBox->currentData().toString();

mWidgetTypePlaceholderLayout->removeWidget( mConfigWidget );
mConfigWidget->deleteLater();
mConfigWidget = QgsGui::relationWidgetRegistry()->createConfigWidget( widgetId, relation, this );
mConfigWidget->setConfig( config.mRelationWidgetConfig );

0 comments on commit ca56fe6

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